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

IMO check the wiring for too much resistance. Sounds like the wiring gets hot and breaks down the connection. As others have said, bypass the wiring and see if it helps. One circuit at a time. You really need to get dianostic tools unless you want to just throw parts at it