Okay so I need some help guys. Explorer is giving me problems right now. This might be a bit long...
So today I had parked my Explorer in some snow to get my Fiesta out and to the dealer. When I got back to move the Explorer I hopped in, put it in 4high and ended up stalling because of how deep the snow was. (We just got a bunch of wet heavy snow). Right after this, the Explorer would crank, but would not start. Tried several times with the same thing. Finally after cranking it for 15-20 seconds I got it to start. Dropped into 4low and got out of the snow. After maybe 50 feet the check engine light came on. So I stopped to take it out of 4low. Noticed it was idling somewhere between 1500-2000 rpm, out of gear with the clutch pedal released. Pushed the clutch in and it dropped down to the typical 7-800 rpm and the check engine light turned off. Released the pedal and idle shot back up to 1500 and check engine came back on.
Got the Explorer pulled into the garage and figured I should try to pull codes first. KOEO and memory did not have any codes. Fired it up to do KOER test and still doing the same thing. Idling high with pedal released, fine with pedal pressed. So ran the KOER test and no codes... dawned on me that the only way for it to run KOER test is to have the clutch pressed for the entire test, which means no check engine light, which means no code. So I can’t get it to run the test with the pedal released and it’s not storing the code either. So as far as what code it might be throwing, I don’t have a clue.
Went through and checked my wiring from when I did the trans swap. Everything is still good and in place.
It still drives and goes through all gears fine. So clutch is still fine.
Quick visual check of vac lines. Didn’t find anything.
Checked IAC and it’s in good shape
Checked TPS... not getting proper voltage or resistance out of it for each respective test. Ah ha may have found my issue! Drove into town, got new sensor, drove back, installed... no difference

Still idling high with the check engine light (Though I will say there seems to be better throttle response now)
I’m starting to wonder if something might be wrong with the ECU, but unsure.
What do y’all think? Any other ideas or things to check for?