If you've got a working "Check Engine" light, do the stomp test and see if the ECU has recorded any codes.
If it's engine heat related, it might be electrical. I'd suspect the crank position sensor, coil, ECU, and AFM. These are wild guesses, mind...