There are two sensors that can cause no spark condition. The power to the coil is supplied via fuse 20 (20A) and the ASD (auto shut down) relay - both are in the underhood PDC. You could also have a faulty coil. Coil resistances should be 0.95-1.2 Ω for the primary and 11,300-15,300 Ω for the secondary.
One sensor, as already suggested is the crank shaft position sensor which is at the ten o'clock position on the bell housing. Check the wiring as suggested. The sensors themselves fail as well. With the sensor disconnected you could probe the wires with a multimeter to look for a change in resistance when the engine is cranked. Not sure what values you would look for for that sensor.
The other sensor is the camshaft position sensor which is within the distributer. There are three wires on that. White/black is the 5V supply, Black/light blue is the ground, Grey/black is the signal wire. Here's how to test the cam position sensor...
CAMSHAFT POSITION SENSOR
The camshaft position sensor is located in the distributor
on all engines.
To perform a complete test of this sensor and its
circuitry, refer to the appropriate Powertrain Diagnostics
Procedures service manual. To test the sensor
only, refer to the following:
For this test, an analog (non-digital) voltmeter
is needed. Do not remove the distributor connector
from the distributor. Using small paper clips,
insert them into the backside of the distributor wire
harness connector to make contact with the terminals.
Be sure that the connector is not damaged
when inserting the paper clips. Attach voltmeter
leads to these paper clips.
(1) Connect the positive (+) voltmeter lead into the
sensor output wire. This is at done the distributor
wire harness connector. For wire identification, refer
to Group 8W, Wiring Diagrams.
(2) Connect the negative (-) voltmeter lead into the
ground wire. For wire identification, refer to Group
8W, Wiring Diagrams.
(3) Set the voltmeter to the 15 Volt DC scale.
(4) 5.2L/5.9L Engines: Remove distributor cap
from distributor (two screws). Rotate (crank) the
engine until the distributor rotor is pointed towards
the rear of vehicle. The movable pulse ring should
now be within the sensor pickup.
(5) 4.0L Engine: Remove distributor cap from
distributor (two screws). Rotate (crank) the engine
until the distributor rotor is pointed to approximately
the 11 o’clock position. The movable pulse ring
should now be within the sensor pickup.
(6) Turn ignition key to ON position. Voltmeter
should read approximately 5.0 volts.
(7) If voltage is not present, check the voltmeter
leads for a good connection.
(
If voltage is still not present, check for voltage
at the supply wire. For wire identification, refer to
Group 8W, Wiring Diagrams.
(9) If 5 volts is not present at supply wire, check
for voltage at PCM 32-way connector (cavity A-17).
Refer to Group 8W, Wiring for location of connector/
terminal. Leave the PCM connector connected for
this test.
(10) If voltage is still not present, perform vehicle
test using the DRB scan tool.
(11) If voltage is present at cavity A-17, but not at
the supply wire:
(a) Check continuity between the supply wire.
This is checked between the distributor connector
and cavity A-17 at the PCM. If continuity is not
present, repair the harness as necessary.
(b) Check for continuity between the camshaft
position sensor output wire and cavity A-18 at the
PCM. If continuity is not present, repair the harness
as necessary.
(c) Check for continuity between the ground circuit
wire at the distributor connector and ground.
If continuity is not present, repair the harness as
necessary.
(12) While observing the voltmeter, crank the
engine with ignition switch. The voltmeter needle
should fluctuate between 0 and 5 volts while the
engine is cranking. This verifies that the camshaft
position sensor in the distributor is operating properly
and a sync pulse signal is being generated.
If sync pulse signal is not present, replacement of
the camshaft position sensor is necessary