Hi, I'm Ted.
You need to see if it is a fuel or spark issue. You could start by checking fuel pressure when it dies. Then I would test spark. just remove a plug and wire and crank it to see if it sparks, lay the plug on something metal and dont touch it. If you have no fuel pressure the fuel pump may be binding up when its hot. If you have no spark the problem could be inthe ignition system.