car dies when it gets warm

The ecu probably is the problem. One other thing to check. If you have a white harness connector near the back of the right valve cover, seperate it and look for melting. A short circuit in there will cause this problem.