Just checked it out went through it all still turns off
Fix the code 18 and then see what happens.
Code 18 - SPOUT out or wiring fault - look for short to ground in SPOUT wiring going back to the computer. Possible bad TFI or defective 22 K resistor in the IDM wiring
Use a timing light to check the timing: remove the SPOUT and observe that the timing retards at least 4 degrees. Put the SPOUT back in place and observe that the spark advances at least 4 degrees.
This code can disable spark advance and reduce power and fuel economy.
Remove the passenger side kick panel and disconnect the computer connector.
There is a 10 MM bolt that holds it in place.
Disconnect the TFI module connector from the TFI and the measure the resistance between the yellow/lt green wire and ground.
You should see greater than 100 K (100000) ohms.
Check the resistance from Pin 4 on the computer connector (dark green/yellow) and the dark green/yellow wire on the TFI connector. You should see 20-24 K Ohms (20,000-24,0000 ohms).
Resistor location: A big thanks to liljoe07 for this information:
Check over by the brake booster. Its not in the harness on the TFI, its on the main part of the harness over by the plugs that connect to the dash harness. About 6" or so from that, going back toward the EEC.
If I remember right, the resistor is covered in a shrink tubing that is sealed to the wires. So, you wont be able see any markings. The shrink tubing is labeled though. It's a 22kohm 1/2 watt resistor.
Here is the location.
Next measure the resistance between the yellow/lt green wire on the TFI module connector and Pin 36 on the computer connector. With the SPOUT plug in place, you should see less than 2 ohms.
The following is a view from the computer side of the computer connector.
This diagram is the wire side of the computer connector.
Diagram courtesy of Tmoss & Stang&2birds