It all started when a stereo system was put into the G35 (its my brother in laws). A hole was cut in the rubber grommet where the main wiring harness goes through the firewall, behind the battery on the passenger side. The 10 gauge wire for the amp was put through this hole and run to the trunk.
This is when all the trouble began. That hole compromised the rubber seal and allowed water to get into the passenger compartment. This water wreaked havoc on the below computer. From everything I have been able to gather, that is the awd computer, although I could be wrong. I would happily stand corrected.

The check engine light came on soon after. A used replacement was bought and installed. However this did not eliminate the CEL.
The code was (and still is) 1706. The car was taken to a transmission specialty shop where we paid for 2 hours of labor for them to come back and say that all electrical check out ok except for the PNP (park neutral position switch). So we had them replace that. CEL came on within 50 miles of driving after this, same code.
Having exhausted everything I could do on my own, we bit the bullet and went to Infiniti. After an hour, the came back with a quote of $4,400......yes that is correct four thousand dollars!! According to their mechanics the smj (part of the wiring harnesses) was bad, specifically pin #14. The car is worth roughly $10,000 so we were not about to spend 4K just yet.
After bringing the car home, we took apart the wiring harness connectors and cleaned them with a toothbrush and electronic cleaner (mold, etc had collected from the water). We put everything back together and of course, after roughly 40 miles, the CEL is back on; same code 1706.
Within the first 40-50 miles (before CEL comes on) the car seems to run fine. After the CEL comes on screwy stuff happens, ie all the dash lights come on and it feels like you are being kicked in the back by a horse whenever the car shifts. If you stop and restart the car sometimes the lights will go away. If not, if you erase the code with a handheld scanner, the process starts all over again...ie car runs fine until CEL comes on at 40-50 miles.
I find it hard to believe that one single bad connection would cause all of this. It would seem to me that if the connection was bad it would not take the car 50 miles to figure it out.
My last hope now is that perhaps the problem has something to do with the replacing of the awd computer.
I am really close to pushing the car off of a cliff somewhere. Any help that anyone can offer would be greatly appreciated!
Thank you.

