The distributors are the same for either the 232 or 258 so that shouldn't make any difference.
If you tore up the distributor gear, I would be having some concerns about the condition of the camshaft drive gear also. You should put an inspection light down there and slowly turn the engine over two full revolutions while looking at those teeth. If they are damaged, the only cure is a cam replacement also. You should be able to find a replacement gear for the distributor without replacing the entire unit. However, do not buy an Omix-ada or Crown replacement.
The other concern with this is now all those metal fragments are in the pan and/or oiling system. At a minimum, the system should be flushed using a light weight oil/filter change with a short run time (a few minutes at most). I would likely drop the pan and clean it and if you don't have a magnetic drain plug, add one. This will all be moot if you need to replace the cam as it will all be apart anyway.
1947 CJ 2A, 1949 CJ 3A, 1955 CJ 3B, 1968 CJ 5, 2012 JKUR