That was an unexpected plan. You have an engine that is stalling and on the point of leaving you stranded on the side of the road and you decide to change the water pump. I really didn't see that coming. 😁
I have a fuel pressure tester and when I was having issues I snaked the hose over the engine and under the hood and taped the gauge to the windshield. That way I had a constant reading of what was going on.
Throwing parts at it until you find the right one can get expensive.
The first thing you need to know is if it is losing fuel pressure, spark, or both when the engine dies. I would connect a 12 volt light bulb with a length of wire to the green prime/test connector and put the bulb somewhere you can see it while driving. That light should be burning anytime the fuel pump is getting power either from the fuel pump relay or the oil pressure sender/switch. That will tell you if the fuel pump is losing power when the engine dies.
I would also carry a fuel pressure tester and check the fuel pressure right there on the side of the road when it dies before cranking the engine back up again if possible.
Here is something to consider.
If the ICM is bad you will only lose spark.
If the crankshaft position sensor fails you will lose spark and the fuel injection system will shut down to, including the pump.
You could have a crank position sensor going bad.
new plan. Water pump is five years old, I drive it very regularly, probably 60k on it. Going to change it, cam sensor as well and inspect magnet. I know I can change sensor without changing pump. I have no codes, 041 cam sensor. Also she has 187,000 on her. Found fuel pump test wire. Thanks again to all!!!!!!