Wait a minute. I don't have that exactly right. According to the ETM the center pin on each harness is not always the common so-to-speak.
The ICV gets 12v on pin 2 and the ECM takes that to ground for ICV retract on pin 1 and pin 3 to gnd for ICV open. So there is no voltage applied to the ICV by the ECM only bringing it down to zero potential with 12v coming from the fuel relay.
However, pin 1 on the TPS is ground then pin 2 idle with pin 3 WOT and pins 2 and 3 having computer +5V.
With it crossed up the TPS signal input to the Motronic was in danger I think.
ECM >> actual
TPS1 >> ICV retract no problem, nothing
TPS2 >> ICV +12v probably not good 12v to ECM +5 ??
TPS3 >> ICV Gnd no problem, same as WOT signal
With it crossed the ICV control would see nothing that could harm it I don't think.
ECM >> actual
ICV1 >> TPS ground, nothing should happen
ICV2 >> TPS Idle input, nothing should happen
ICV3 >> TPS WOT input, nothing should happen
You need to see if you still have +5v on TPS pin 2 when the throttle is open. If not then the +5 from the ECM is lost and there can be no idle on I think. Again this should be a transitor or something that turns on when it's grounded. If burned it can't turn on and do whatever it does.
Just a theory or two to test out but I'm no EE.
I'm really a bit confused at this point.

and more
So confusing because your earlier symptoms sounded just like a idle plug to put the ECM in open loop with idle control.
Only thing I am sure of, do not attempt to recreate the conditions that got you here.
I'll be mulling it over and maybe have more crazy ideas.