I have a 2011 Ford Fusion v6. 3.0 and have a code p 0316. 2 things going on right now. First when the ac is running the air is cold when the compresser is on and when it is off the air is warmer. Second the engine is ginving me that code and it sounds Like air is running around when I hit the gas pedal. What do you think?

that code is often an engine mechanical fault, like bad lifters or serious vacuum leak. Since you hear air, start looking for vacuum leaks