I have a 2002 Ranger FX4 and have been having the exact same problem and I can't seem to be able to duplicate it when it is in the shop..
Same exact symptoms, runs fine for a while, then I run somewhere, stop, get out, get back in after a few minutes and it tries to start, spuitters, shakes, but just wont start. The only thing that works for me is to let it sit for 5-15 minutes and then it starts fine and runs for another week, then does it again. How can we check for spark or fuel when this is happening? Most of the time I am alone and by the time someone comes to help or tow it, it starts like nothing ever happened? The local dealership is trying to steer me right down the same path you went and I would really like to find someone who can help pinpoint it before I start replacing things that don't need replaced.
SPONSORED LINKS
Tuesday, March 2nd, 2021 AT 12:00 PM