Question: when ac is turned on car turns off?
Answer: It may be from low power to the computer, a faulty fuel pump due to bad connection, or a low battery. The blower fan draws a lot of current, perhaps that is dropping the voltage suddenly and causing some electrical component in the ignition system or the anti theft system to shut down the car.