1994 Dodge Ram Van B250 5.2L MFI the problem is the engine cuts off going down the road or at an idle.?

When it runs excellent no problem than all of a sudden it is like you turn off the key or cut off the fuel sometimes it will start right back up and run for weeks other times it has to sit for 5 minutes to 5 hours than start right up and run again. The fuel pump and fuel relay has already been changed
5 answers 5