The Rangers, who have hit 17 home runs and scored 45 runs during their six-game winning streak, also moved into the AL home run lead with 227.
Gray (9-8) picked up his first win since Aug. 11, allowing five hits while striking out seven.
Gray, who hadn't made it out of the fourth inning in his three previous starts, left with right wrist tightness while warming up for the seventh inning.
Angels starter Patrick Sandoval, who allowed no runs on two hits and five walks in three-plus innings, left with right oblique tightness after walking Garver in the fourth.
Texas then took a 3-1 lead in the sixth inning on three consecutive one-out home runs on 10 pitches by Herget.
Persons:
Adolis Garcia, Mitch Garver, Nathaniel Lowe, Jon Gray, Marcus Semien, Gray, hadn't, Jonathan Hernandez, Andrew Heaney, Logan O'Hoppe, Michael Stefanic, Nolan Schanuel, Jimmy Herget, Patrick Sandoval, O'Hoppe, Herget, Garcia, Garver, Lowe, Jaime Barria, Jonah Heim, Leody Taveras
Organizations:
Texas Rangers, Los Angeles Angels, Houston Astros, American League West, The Rangers, AL, Los, Angels, Rangers, Thomson
Locations:
Anaheim , Calif, Marcus, Texas, Los Angeles, Semien