NEW YORK -- The Baltimore Orioles had been waiting a while for a big hit. Adam Jones was glad to step up and deliver.
Jones lined a go-ahead home run, Andrew Cashner pitched six strong innings and the Orioles snapped a five-game losing streak, beating the New York Yankees 5-2 on Thursday night.
Baltimore had been held to under three runs in four of their five losses. The Orioles then sent nine batters to the plate during a five-run seventh inning to put away a previously dominant Masahiro Tanaka.
"It's huge," said Jones, who has half of the Orioles' six homers this season. "Then it started back over after I hit the home run. Bases got empty and then we put up three more runs."
"I said it, when we're all swinging the bat good, we just pass the baton to the next guy. When you got a guy in front of you who hits the ball hard, it's an incentive to yourself that you want to do the same thing," he said.
Giancarlo Stanton, making just his fourth big league start in left field, made a nice leaping attempt in front of the fence but wasn't able to haul in Jones' homer.
Aaron Judge had given New York a 1-0 lead in the sixth with his second home run of the year.
Cashner (1-1), who was hit hard in his first start of the season, held the Yankees to just one hit before serving up Judge's home run.
The righty allowed two hits and struck out five as Baltimore bounced back from a three-game sweep at Houston.
Facing the power-hitting Big 3 -- Stanton, Judge and Gary Sanchez -- Cashner kept them at bay, holding them to just one hit in eight at-bats.
Judge's fence-clearing shot was the 58th of his career in 189 games, making him the quickest to get there in MLB history.
Cashner then left it up to his offense to take care of the rest.
"I think more than anything, it's guys sticking with the process and just trusting," he said. "It's been a tough go for us to start, but with Adam hitting that big homer, you know he had the big homer on opening day, I think it kind of let some guys breathe a little bit."
Brad Brach pitched the ninth for his first save of the season in two chances.
Tanaka (1-1) had won his last six home starts, including two in the 2017 postseason. He cruised during his first six innings before the Orioles chased him in the seventh.
After serving Jones' homer on a slider, the New York right-hander retired Chris Davis before giving up a single to Tim Beckham.
"I knew it was not an ideal pitch and as soon as it left, I knew he got the barrel of the bat but I thought maybe it was 50/50," Tanaka said through a translator.
Reliever Chad Green gave up consecutive singles and Anthony Santander hit an RBI double. Trey Mancini added a two-run single extended the lead 5-1.
Neil Walker hit an RBI double in the bottom half, but Darren O'Day then entered with two on and got Miguel Andujar to pop out to end the inning. The Yankees loaded the bases in the eighth before Walker grounded back to O'Day.
New York had the potential tying run on deck after Tyler Wade walked with one out in the ninth, but Brach struck out Brett Garner to end it.
"If we can get it to Judgie we've got a chance, right?" Yankees manager Aaron Boone said. "And that's kind of what you hope for in that ninth inning."
RELATED: 2018 MLB POWER RANKINGS