The air conditiong can be stopped by a broken fan. The cooling system of the AC system needs to be able to cool the engine. You need to have the fan replaced or at least have a diagnostic check to see what's causing the fan to stop working.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.