The brown EGR wire gets the 5 volt output from the wideband to go to it. I sometimes put the wideband ground to the EGR ground to increase accuracy.
The IAT does not operate on voltage, so you would need to build a voltage divider, and setup your own calibration in order to run it on a 5v input somewhere (ac/egr/dhp box). I would probably build the voltage divider with a 5k ohm resistance, and splice into the 5v rail on the PCM.
I ended up making a little switch for my 2 temp sensors... Make 1 run, then switch and make the run again after the intercooler recovers. Preintercooler temps shouldnt vary much in a few miles.