You might be onto something with the wiring. I had an issue come up on my NX, where it would be fine, then all of a sudden would cough and sputter like it was under/over fueling. A quick look at the fuel pressure revealed normal readings. I was able to duplicate the rough idle condition by jiggling the MAF harness. Turned out, the ground wire (which had been previously repaired) was down to it's last couple of strands, and was reduced to making intermittant contact. Sometimes, revving the engine was enough movement to induce the sputtering. A rewire solved the problem. The culprit was indeed the grounding wire.
Darrin
Darrin