if it keeps dying when hot, Id consider replacing the crank position sensor.

nenad