Durango That Don't Go

I have a '99 Dodge Durango. It started just cutting off as I was driving down the road. I had the alternator checked, it is fine. The battery is fine and correctly connected. I was told that it is the fuel sensor, had that replaced, but it is still cutting off. The lights stay on and anything that I have turned on at the time, but the car just cuts off. I can sit in it for a bit and it will crank right up. I was then told that the computer under the hood had water damage and needed to be replaced. Can you think of any other reason for this issue? It had a full tune up 6 months ago and has regular oil changes.



I appreciate your time and input.