2007 Dodge Durango
I turn my ac on and at time it shuts off the whole vehicle. I
have no clue what it could be
Check the bearings haven't seized in the compressor. If it's seized, the drive belt may stall the engine.
When the electrical load of the AC/fan is added, it starves the ignition of electricity and robs the plugs of spark; thus killing the engine. In this case, you have a defective alternator and a weak battery. Have these checked; they both probably need replacing.