Runs then dies

When it dies see if it has spark imediately to rule out the ignition side of it. Testing the componets they hit it with a heat gun to get them up to a hot temp also?