Welcome to TheDieselStop
Here's the scoop on your latest batch of codes.
P0198
Engine oil temp. sensor circuit high input,
Open circuit, biased sensor, PCM short to 5v
That's why it ran when you pulled the EOT connector. The PCM went to default settings when the EOT signal went away.
P0380
Glow plug circuit malfunction
Open/grounded ckt., solenoid open/shorted, failed PCM
P0340
Camshaft position sensor ckt. malfunction
Open/grounded circuit, sensor fault, short to power
P0470
Exhaust back pressure sensor circuit malfunction
Biased sensor,
open signal return
P1210
ICP above expected level
ICP sensor,
open signal return
The stuff I put in
bold could be your problem. The sensors share a common signal return, and maybe that lightning strike burnt a wire out. Check your wiring harness for toasted spots.
The fact that it runs when you unplug the EOT sensor tells me that your PCM is still alive. It's just getting bad information.
The signal return circuit is the grey/red wire going thru the 42 pin connector above the driver's side valve cover. You could unplug that and check continuity back thru each of the 3-wire sensors (EOT, EBP, ICP, etc). You might also want to check that same circuit from the 42 pin back to the PCM connector, although that one's a PITA to get at, down under the master cylinder on the firewall.
Good luck