I would pull the airbox base off and check the wiring to the O2 and headtemp sensor.
If those look good and you're 100% positive all your grounds, sensors, and connections are good I'd start looking into the wiring diagram to see what wires feed the O2 signal to the ECM
That last suggestion is me thinking out loud. BC I'm not sure how you would test if the issue is actually your ECM