When it shuts down and you have no spark, I would be changing the coil. My guess is that it is shorting out when it gets hot. Once you get it running check battery voltage across the two battery terminals at 3/4 throttle. You should get a reading of over 13 volts.