Have a look at the rear of the engine
There is a wiring loom that may burn on the exhaust manifold if loose , this in turn could earth intermittently thro the manifold causing problems with the coil.
I went thro two cracked (yes cracked) coil bodies . Looks like the coil was getting very hot...