ARLINGTON, Texas -- Adrian Gonzalez and the Boston Red Sox powered their way to some payback in Texas.

Gonzalez homered twice to give him five in three games, Andrew Miller pitched three-hit ball in a spot start and the Red Sox beat the Rangers 6-0 on Thursday night.

Miller threw 6 1/3 impressive innings and the Red Sox took the final three matchups in a four-game series between AL division leaders.

Boston was swept in a three-game set at Texas to begin the season en route to an 0-6 start. Now, that seems a distant memory.

"We have a lot of respect for (the Rangers) and they really beat us up a little bit, especially down here," Red Sox manager Terry Francona said. "But we played good tonight and that's what we wanted to do."

Gonzalez hit a solo shot in the first inning and a two-run drive in the third off Alexi Ogando (12-6), giving him homers on three consecutive swings -- including one in the eighth inning of Boston's 13-2 rout Wednesday night.

Gonzalez, who had his 13th career multihomer game, had gone 84 at-bats without a long ball before homering in the first inning of Tuesday night's 11-5 win.

"I hit them in spurts, everybody knows that," Gonzalez said. "When I have a good swing, it's just a feeling you have. You hit them in bunches, and this is a time right now when I feel good and hopefully I can keep swinging like that tomorrow."

David Ortiz and Jarrod Saltalamacchia also connected for the Red Sox, who have won six of eight and remain one game ahead of New York in the AL East. The Yankees pummeled Oakland 22-9 earlier Thursday.