The New York Yankees powered past the Texas Rangers 10-5 on Monday, with five home runs from their red-hot batting lineup helping right-hander Masahiro Tanaka get his fifth win of the season.

Tanaka (5-2) gave up four runs and four walks in five innings, but was saved when Aaron Judge's 12th homer of the season broke a fifth-inning tie and restored the visitors' early lead for the series-opening win at Globe Life Park.

"It was a tough outing on the mound. They kept fighting even after their lineup was cornered," Tanaka said. "I couldn't throw my splitter consistently. It's important to just keep going without being influenced by the results."

After a groundout quashed a first-inning, bases-loaded jam and the Yankees opened the scoring with a three-run second, the 29-year-old Japanese yielded a homer to Joey Gallo before retiring the next three Rangers.

(Gleyber Torres celebrates his two-run homer in the second inning)
[Getty/Kyodo]

He went three-up, three-down in the third, but gave up a three-run homer to Rougned Odor after two walks in the fourth, allowing the Rangers to tie the game against Neil Walker's solo homer in the top of the inning.

Judge snapped an 0-for-17 streak when he went yard to lead off the fifth, before Tanaka forced out his last hitter and then manufactured a double play to cap the inning.

Gleyber Torres earned his first multi-homer game, going long in the second and sixth, and Aaron Hicks rounded out the scoring with a two-run homer in the ninth.

The Yankees hit at least four homers for the third consecutive game, earning their first four Monday night off Texas righty Bartolo Colon (2-2), who yielded six runs and eight walks in 5-1/3 innings.

(Tanaka reacts after giving up a game-tying three-run homer to Odor in the fourth)