Try this thread:
http://www.explorerforum.com/forums/showthread.php?t=394039
The last post suggests swapping the fuel pump relay in the relay box next to the air filter. It's quick, free, and a good try for a fix...
If you swap the relay, it was suggested you swap the fuel pump with the Wide Open Throttle (WOT) relay. Also, this time of year, the A/C relay would work too. They're all the same part number so it doesn't really matter.
As mentioned in the thread, other possibilities for the engine shutting down while driving are a bad fuel pump, bad wiring or connectors, a bad ICM (coil pack), or an unlikely cause is a bad PCM.
If the relay swap doesn't cure the problem, I'd do as the thread suggests, and hook up a fuel pressure gauge and mount it somehow so you can see it while driving. If pressure remains high and the engine still quits, it's not a pump. No use replacing a pump if you don't have to. If you loose pressure, and the engine quits, it could be a pump, relay, or wiring.