could be a bad coil pack. have you checked your fuel pump.
Lots of possibilities here you need to look at. Check fuel pressure, power to fuel pump, check for spark, etc.
I had the same problem after detailing mine and after a lot of research found there is a relay switch where I must have bumped it on the passenger side floor up high right hand mounted in a small box. The switch (soft button) is on top. Started right up after resetting it.
mine was a fuel pump proplem. if you have good fuel pressure, check ignition system, if those two are fine, go for the fuel pump. good luck
Looking for a Used Ranger in your area?
CarGurus has 6,417 nationwide Ranger listings starting at $995.
Search Ford Ranger Questions
Ford Ranger Experts