Iat location on 1996 Dodge 318 Ram 2500 van engine code 23 it is also stalling at idle i believe it's due for tune-up should i do the tune-up first?

i would do the tune up first because your iat sensor sensors the temp of the air and your o2 sensors sens basically how well the fuel has been burned .ie. just right, too lean, too rich. with this input the computer decides the best air to fuel ratio (usually based on emissions) with that said if your truck is running sloppy due to poor plugs your o2 sensors could be reading to rich which would adjust the ratio causing the computer to think the ait was wrong......i would change the plugs, wires, rotor and cap then reset the pcm and then if the code pops up again possibly change the sensor