Brandon Nunez threw just two passes, each for a score, and New Mexico State beat Middle Tennessee 36-21 to end a three-game losing streak.