The code will only trip if the ECU can't see the signal. If you guys are clearing the codes and they work for a bit, I'd have to say that you have some sort of grounding or wiring issue. Make sure that the contacts on the connector look clean, and the little ground wires that run all over the engine are bolted down.
__________________