Gets hot and stalls out

I had a pinto do similar. Every once in a while the engine would just die. Wait 20 minutes, start right up and run fine for an undetermined amount of time.

The ECU had a known heat issue.