You can download ZTE Zmax Z970 firmware for both T-Mobile and MetroPCS from this post.
See links below and be sure to download the exact firmware that suits your smartphone.
Download Options: Firmware
How to flash
Follow this guide to flash via SDcard in stock recovery.
If you encounter any flashing errors, consider flashing via twrp.