The Aggies (7-4, 2/3 Southeastern Conference) snapped a two-game skid while Mississippi State (8-5, 3-2 Southeastern Conference) had its two-game win streak end.
Jay Jay Chandler scored 12 points off the bench to lead Texas A&M. Gordon finished with 11 points and Miller had 10 points and eight rebounds.
The Bulldogs led 50-44 with 5:14 to play. Miller scored the next five points, Savion Flagg added a dunk, and Gordon added an alley-oop dunk plus a 3-pointer and the Aggies led 56-52 with 1:52 left.
Jalen Johnson split a pair of free throws for Mississippi State to cap the scoring with 57 seconds left.
Texas A&M used a 17-4 run to tie it at 44 with about eight minutes remaining. The Bulldogs entered having won four of their last five against the Aggies.
Texas A&M: The Aggies host No. 17 Missouri on Saturday.
Mississippi State: Hosts Florida on Saturday.
For more AP college basketball coverage: https://apnews.com/Collegebasketball and http://twitter.com/AP--Top25
Jabari Smith leads Auburn in 21-point win over Syracuse
Jabari Smith scores 22 points as Auburn beats Syracuse 89-68 in the fifth-place game at the Battle 4 Atlantis.
Mohamed scores 25 to lift Montana St. past Portland 69-66
— Abdul Mohamed had a career-high 25 points as Montana State narrowly defeated Portland 69-66 on Friday.
Williams clutch in OT, Oklahoma St. tops Oral Roberts 78-77
— Bryce Williams scored four of his 21 points on back-to-back turn=around jump shots late in overtime and Oklahoma State held on for a 78-77 win over Oral Roberts on Friday.