When it stops working...take a 7/16 and loosen and re tighten the modules mounting bolts, as well as the voltage regulator.....then try and restart it.
Could very well be resistance in the grounding.
You could also run a ground wire from engine to regulator and ignition module mounting bolts.