I had the exact same problem on my 1999 Cherokee 4.0L (auto transmission). I tested everything, including the crankshaft position sensor, and everything seemed to test good. After getting a new distributor and ignition coil we were stumped. Ended up retesting everything and tested the CPS the right way, tested bad. Replaced it and it started right up. Some Jeep people told me the difference in a test between a good and bad CPS is so slight its almost not worth testing them and should just be replaced.
So you may want to try a new one, even if you think it tested good.
I have a 1995 Jeep Cherokee Sport, 4.0L with Manual Transmition that will not start.
The engine cranks but I am not getting any spark.
When attempting to start I can hear the fuel pump engaging and after several attempts you can smell gas in the engine compartment.
The rotor, distribitor cap, spark plugs and wires have all been changed within the last 1000 miles and before this no starting problem was running well.
Visual check of the rotor shows that it is rotating when cranking engine.
The first thing I did was to change the pick up, same results.
Next I changed the coil, still nothing.
I removed the Crank Positioning Sensor and it tested good and reinstalled it.
I traced the wiring harness from the Crank Positioning Sensor to the ECM (PCM). Under the ECM there is a large connector where I found a broken wire but after inspection of the Connector also found some corrosion. I removed the Connector and reconnected the wires, wire to wire using butt connectors. Still will not start.
I tested thye MAP sensor and am getting a 4.5 reading, so the sensor is testing good.
I checked all fuses, the Auto Shut Down Relay and ignition relays and all tested good.
I have also rechecked the grounds from alsong side the coil and all have been cleaned and attached firmly.
Any suggestions on what I have missed?