in pic 1 i don't think it's O2 wire. looks a bit too short plus it's needs to be 3wire plug. it runs just under that plug (it should be in the zip-tie just below,) by the alluminum pipe... and it runs to just short of the battery on a little "tree" with another plug set on it...
I'll have to look under my hood to even guess pic 2 but, it doesn't look professional to me eihter...
shifting tranny: do you have an external cooler on yours? it has quite a few miles on it.. could be going.... also, the shift celenid could be the culprit...
Try to check the ECU yourself. it's easy and the directions are in the garage (sticky)