Your Idle air control valve could also be stuck closed/open. Could just need a cleaning or needs replaced. It's right on your throttle body and is about the size of a salt shaker.
---------- Post added at 09:13 PM ---------- Previous post was at 09:12 PM ----------
The gas could have all drained away from your pickup and it wasn't getting enough to keep it running. That's happend to a few people I know in other cars.
Torque: It's like crack for your right foot