Car stalling on 1999 Ford Escort

My car has been having a problem, when its warm outside normally above 90 degrees it will stall out and will not restart untill it sits for a minute or two then after about 5 miles of going at a consistent speed it will stall out again. I have also noticed it will cut out a little when i get on it, i replaced the fuel filter but that did not help anything so my next guess is fuel pump or IAC valve. Any help would be greatly appreciated

1 answer
if possible when car dies check for spark, when the ignition coil is going bad they usually start acting up when they are hot, then when they cool a bit start working again, could be the fuel pump gettting tired but you'lll need a fuel pressure guage test that,