Did the car restart easily after it shut off? Or did it have to sit for some time (perhaps with the hood open) before it would restart? I am just trying to perhaps distinguish between probable electrical vs. fuel. If it restarted and/or sputtered while restarting, then I would suspect heating of the fuel being the most likely issue.