Berken couldn't hold it together in the sixth, though, serving up a triple to Carl Crawford and Marco Scutaro's seventh homer of the season. Lavarnway hit Boston's fourth homer to lead off the eighth against Zach Phillips.
The Orioles scored first on a double by Vladimir Guerrero that scored Markakis from first base. Guerrero scored in the fourth when Wieters launched a two-run home run into the Orioles' bullpen. Measured at 411 feet, it was Wieters' 22nd homer of the season.
The runs came against former Oriole Erik Bedard, who for the second time in a week did not pitch well against his old team. Bedard was charged with three runs in just 3 1/3 innings Tuesday after giving up four runs in 2 2/3 at Fenway Park on Sept. 20.
Reliever Alfredo Aceves (10-2) allowed one run -- Jones' 25th homer of the season -- in 3 2/3 innings for the win.
And now the teams will battle one more time -- with the Red Sox hoping they can celebrate in Camden Yards and continue their season into October.
Wednesday's "game is very important," Jones said. "Both them and Tampa need the 'W.' So, we're standing in their way, and New York is standing in Tampa's way."
Orioles Insider | Live scores | Photos | Baseball app