Basis: 2000 ranger xlt 2wd, 5.0 swapped with '00 explorer engine and trans from 2wd truck. Built engine and trans, too many mods to list. Yes I have done lots of searching concerning p0340. When I installed my Holley Systemax 2 intake on the truck, the stock wiring wasn't long enough for the ECT sensor (for oem dash gauge) to reach the new sensor location. Truck wouldn't run, threw the p0340 code. Extended wire, connected sensor, all was well, no more code. Torque converter started acting up a week ago, started to not lock anymore after a certain temperature, then not lock at all. Got new PTC converter on the way. While the trans builder had his tool hooked up to the obd2, he saw that it had thrown the p0340 code again, but just a soft throw. Wasn't affecting performance in any way until I went to leave then the misfire was there. Come to find out, that ECT sensor wire had come undone partially. We fixed that, code went away, truck ran fine. I hopped off the freeway once the converter stopped locking up again, and noticed a slight engine deceleration issue. Used my SCT Livewire to check and the p0340 was there again. Shut truck off, cleared it, no problem for another 15min or so. Then code came up again, same deceleration "issue" with engine faltering some but never stalling or wanting to stall. Now it's throwing the code hard and won't stay running. Never drove the truck at all while it was misfiring or not running properly, has been in garage since it was a soft throw code and has gotten worse. I'm getting .144v on grey/red wire at cam sensor connector, .128v on blue/orange wire. Key on, engine off, with code just being cleared. Is this proper? I'm wondering if the ECT wire made contact with my coil pack bracket at some point and affected ecu in some way, but the gradual degradation doesn't make sense. Going to check voltage at pinout at engine harness and pcm itself later today. Anything else I should check? Cam sychronizer itself seems to be in good condition; no particules inside the sensor cover, no shavings on sensor contact, no excessive slop between cam gear and synchronizer gear, no squeak from sychronizer, synchronizer adjustment hasn't changed either. Not sure what else to do at this point. Possible bad ecu?