Easiest solution is replace the distributor.
You might find a used one but it will probably need some attention.
Or take yours apart and see what it needs.
If you replace it be sure to count the teeth on the drive gear. The count must match the original or the cam will be damaged.