It is possible for the intank fuel pump to be the cause but I don't think that is the cause. You mentioned it was operating welll with the headlights and other electrical equipments and cut off only after those had been turned off. That indicates a possible electrical interruption or the IAC malfunctioing.
You do not need a code reader to retrieve the codes.
Trouble Code Access
1.Engine must be at normal operating temperature. Using jumper wire, ground Green, 1-pin check connector. Check connector is on right side fenderwell, near fuel filter and Green, 6-pin self-diagnostic connector. See Fig. 2.
ECU constantly checks for malfunction of input devices. However, ECU only checks output devices for 3-second period after ignition is turned on and Green check connector is grounded.
2.Turn ignition switch to ON position. The codes may be read by counting number of pulses of Malfunction Indicator Light (MIL). MIL is located under the engine symbol marked CHECK, in center of instrument cluster.
3.The code will be repeated, or other codes will be flashed if more than one is stored. See Fig. 3. If more than one code is stored, codes will be displayed in order of lowest to highest.
Wednesday, July 14th, 2010 AT 8:12 AM