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

"no spark after it dies"

I gotta say this is a weird one....maybe the charge circuit going through the firewall to ammeter is causing problem somehwere (i say this because i had similar problem recently...but I am running an MSD...but still) I did the bypass thing shown at MAD electrical website....and no issue since.