A couple of things to look at...
The ground strap going from your S/G to the frame,
It's a braided strap inside of a sheave, they've been known to break apart underneath the sheave, giving an intermittent spark!
Next, would be the spark plug... even new, they can fail right out of the box!