Welcome to CHR. Both good suggestions to check. What's your ignition system? Sounds like it could be the electronics in the distributor or ignition module getting hot? Also when it dies do you have good fuel pressure? Is you electric fuel pump working right after it heat up?