How to fix zte phone from shutting down and restarting

Solution
You can try a factory restore. But these issues are often a hardware issue, which means replacing the phone. You can try a new battery also if you like.