I had the exact same problem after my engine pull. It seemed a wire ty broke and allowed the compressor wiring to short out against the front exhaust manifold when I turned on the AC or DEF. Look at the front of the car, near the radiator fan wiring to make sure everything has proper clearance.