In Park, does your engine RPM drop when the A/C comes on? If so, gently press the gas to raise the idle speed. Does the idle smooth out? If so, then your idle-air control valve is the problem. It is supposed to maintain idle RPM when the A/C comes on