Q: Runs fine until it heats up- on 1998 Pontiac Sunfire

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
For over a year now, I have had the same issue going on. I have been told it was the fuel pump but, I have also been told it could be something to do with the cooling.
I can drive my car and it drives great but, once the car heats up it starts a whining noise, I get it home after about a 10 mile drive on the interstate and park it, due to if the temp rises to much it starts to sputter and wants to stall and in the past has cut out and left me on the side of the interstate.
Now..can someone please tell me what is going on. This has been going on for over a year and I still drive it but, not long distance.
Is there also a cooling system for the fuel system that could be causing the issue?
(1) Answer
It is possible the fuel pump on your 1998 Pontiac Sunfire is failing when it is warm. The best way to confirm this would be to test the fuel system pressure while the fault is present. There is no separate cooling system for the fuel pump or fuel system.