BALTIMORE (AP) Chris Davis hit two home runs, the second a tiebreaking shot with two outs in the bottom of the ninth inning off switch-pitcher Pat Venditte, to give the Baltimore Orioles a 4-3 victory over the Oakland Athletics on Saturday night.

Davis connected on a 2-2 offering from Venditte (0-1), the first ambidextrous pitcher in the majors since 1995. Venditte was recalled from Triple-A Nashville before the game for his second stint with Oakland this season.

It was the second straight night in which the Orioles beat the A's with a home run in their final at-bat. Manny Machado hit the game-winner in the 13th inning less than 24 hours earlier.

More from FoxSports

Davis earlier homered with a man on to start Baltimore's comeback from a 3-0 deficit. The slugger has 34 home runs - six in his last six games - and leads the majors with 88 RBIs.

Gerardo Parra also homered for the Orioles, who moved within 1 1/2 games of the Los Angeles Angels in the race for the final AL wild-card slot.

Zach Britton (3-0) worked a perfect ninth, striking out two to set the stage for Davis' heroics.

Sam Fuld and Josh Reddick went deep for Oakland. The A's have lost four straight and are a major league-worst 13-27 in one-run games.

Oakland starter Chris Bassitt allowed three runs and five hits over eight innings. The right-hander struck out six and walked one.

Miguel Gonzalez gave up three runs, six hits and three walks in seven innings for Baltimore. He yielded two home runs but blanked the A's over his final four innings.

Three pitches into the game, Oakland led 1-0 after Billy Burns tripled and scored on a groundout.

Fuld led off the third with his second home run to end a career-high tying 0-for-18 skid, and Reddick added a solo shot.

Davis got Baltimore to 3-2 in the fourth.

Gonzalez's up-and-down outing was on full display in the middle innings. He walked the bases loaded with one out in the fifth before Billy Butler bounced into a 5-4-3 double play. In the sixth, the right-hander struck out the side.

In the Baltimore sixth, Parra knotted the score with a drive that barely cleared the scoreboard in right field.

TRAINER'S ROOM

Athletics: RHP Sonny Gray (back spasms) threw 25 pitches in the bullpen ''and felt good,'' manager Bob Melvin said. If Gray isn't stiff or sore on Sunday, he will likely start Monday. ... 3B Danny Valencia was scratched because of back and hamstring tightness. He expects to return Sunday.

Orioles: C Matt Wieters' ailing right hamstring ''is coming along,'' manager Buck Showalter said, adding, ''Hopefully we can stay away from the DL.'' Wieters hasn't played since Tuesday.

ON DECK

Athletics: Kendall Graveman (6-8, 3.89 ERA) seeks to break a career-high, four-game losing streak Sunday.

Orioles: Wei-Yin Chen (6-6, 3.21) is 4-0 with a 2.19 ERA lifetime against Oakland.