Have you tested the TPS? I suspect that, the ICV, the AFM, or a vacuum leak.
The fact that the idle doesn't change when you unplug the ICV makes me suspicious of the TPS or the ICV.
The car dying when you accelerate with the AFM disconnected is normal. However, the intake air temp sensor code could be suspicious. There is an air temperature thermistor inside the AFM, but the code might have been set when you disconnected the AFM.