In the rematch, the Orioles looked as if they were taking batting practice against the New York Yankees' right-hander.
Chris Davis homered and drove in four runs, and Baltimore breezed to an 11-3 victory Friday night to extend their season-best winning streak to five.
Caleb Joseph hit a solo shot and Jimmy Paredes had three singles and two RBI for the Orioles, who reached .500 (30-30) for the first time since May 5. Baltimore has won seven of eight following a five-game skid.
Davis delivered an RBI single in the first inning and a three-run drive in the third, both against Pineda (7-3). The slugger came into the game 1 for 11 with eight strikeouts in his career against the 6-foot-7 hurler.
On May 10 at Yankee Stadium, Pineda reached a career high in strikeouts against Baltimore. In this one, he fanned only two in 4 1/3 rocky innings, allowing six runs, nine hits and two walks.
"He didn't quite have the command he had last time," Orioles manager Buck Showalter said. "We were just fortunate to catch him on a little bit of an off night."
Said Davis: "We did our homework. I think the more you see a guy, you know what he's going to do. Tonight he just didn't look as sharp as he was in New York and we were able to take advantage of it."
It was Pineda's shortest outing since being ejected in the second inning on April 23, 2014, for using pine tar on the mound.
"I tried to throw my best pitch in the game today, and the slider was not working very good," he said.
Pineda hadn't pitched since June 1 because the Yankees don't want to overwork him, but he wouldn't blame the extended rest for his subpar performance.
"They tried to take care of me and give me a little rest," Pineda said. "What happened tonight, it happens with everybody."
Mason Williams homered in his major league debut for the first-place Yankees, who have dropped two in a row after winning seven straight.
Ubaldo Jimenez (4-3) gave up three runs in five innings to earn his first win since May 11. Although the right-hander struggled from the outset, he kept the damage to a minimum and received plenty of offensive support.
New York failed to score in the first inning after loading the bases with no outs. Davis singled in a run in the bottom half.
After striking out in his first at-bat, Williams hit a two-run drive to right in the fourth.
"Pretty speechless," he said. "Honestly it was my first home run of the year. I wish it would've come at a better time in this game."
The former fourth-round draft pick was removed for a pinch hitter after going 1 for 2.
Baltimore pulled away with a four-run sixth that began with Joseph connecting off Jacob Lindgren. Later in the inning, first baseman Mark Teixeira overthrew second base trying for a force play, ending his career-high errorless run at 109 games and providing the Orioles with four unearned runs.
That put Baltimore in double figures in runs for the first time since April 26.
The Yankees outrighted reliever Esmil Rogers to Triple-A Scranton/Wilkes-Barre after the game. The right-hander allowed four runs Friday and has a 6.27 ERA.
"I thought he actually threw the ball decently tonight," manager Joe Girardi said. "But it hasn't been consistent work for him and we wanted to try to get him going."
Yankees: OF Jacoby Ellsbury (right knee sprain) is running at about 60 percent according to Girardi, who added, "He's starting to do a little bit of everything now."
Orioles: RHP Kevin Gausman (right shoulder tendinitis) felt no lingering pain after his rehab assignment Thursday night. He is slated to pitch two innings for Single-A Frederick on Tuesday.
Yankees: CC Sabathia starts against the Orioles on Saturday night looking for his 212th career win, which would give him sole possession of 23rd place on the win-list for left-handers.
Orioles: Bud Norris takes the mound for Baltimore. He's 2-4 with an 8.63 ERA this season, but is 4-1 lifetime against New York.
Houston Astros' Framber Valdez gets starting nod for World Series Game 1, will be opposed by Atlanta Braves' Charlie Morton
After tossing a gem at Fenway Park in the ALCS, Houston left-hander Framber Valdez will start Game 1 of the World Series for the Astros on Tuesday, opposed by Atlanta Braves right-hander Charlie Morton.
Braves vs Astros: A World Series 6 decades in the making
Freddie Freeman swinging onto baseball’s biggest stage for the first time, Jose Altuve & Co. back for more. Luis Garcia, Framber Valdez and a fresh set of Houston arms facing Ozzie Albies, Austin Riley and these eager, young Atlanta bats.
Taylor: I don't thinking about hitting HRs, they happen by accident
Chris Taylor downplays the three home runs he hit in the Dodgers' 11-2 win over the Braves.
Sportsbooks install Houston Astros as World Series favorites over Atlanta Braves
Sportsbooks have installed the Astros as World Series favorites over the Braves. Houston opened as a -150 favorite at Caesars Sportsbook, but the price quickly ticked down to -145, with Atlanta listed at +125.
2021 MLB playoffs: NLCS MVP Eddie Rosario helps send Braves to first World Series since 1999
Rosario was a fourth-round draft pick by the Minnesota Twins in 2010 and has basically flown under the radar ever since. He was named NLCS MVP after the Braves defeated the heavily favored Dodgers to advance into their first World Series since 1999.
2021 MLB playoffs: How the Atlanta Braves stunned baseball to reach the World Series
Atlanta began the playoffs with just a 17% chance to win the pennant. Then something magical happened.