2001 starts, runs, then shuts off???

One more thing is check the wiring behind the inertia switch. Some of these trucks have some resistance built up over time and the wires start to burn a little. Just look at the connectors behind there and see if anything has been hot. You can temporarily by-pass the switch and see if it fixes your problem