Car runs, gets hot, then dies. Cant restart until cooler.

Have you tried bypassing the ignition switch. I'v had issues with carbon tracking between the switch contacts.