Mike Carp didn’t need a line drive a deep shot or to hit into the gap. His little bloop dropped in perfectly for the Boston Red Sox.

Carp’s pinch-hit floater dropped just beyond the glove of Baltimore third baseman Manny Machado in the eighth inning scoring Jarrod Saltalamacchia from second with the tiebreaking run and lifting the Red Sox to a 4-3 win over the Orioles on Wednesday night.

‘‘Sometimes it’s all about placement’’ he said breaking into a smile. ‘‘I didn’t get a lot of it but it’s a funny game. You can hit a ball hard guys were hitting the balls hard but right at people. It just takes just one little squibber one little jam shot to seal the deal.’’

The AL East-leading Red Sox continued their run from last to first with another final at-bat win. It was the 20th time in their 79 wins that they've gone ahead in their final turn at the plate.

Last season the Red Sox were last in the division with 69 wins.

‘‘This is a group that knows how to play with the game situation that’s in front of them’’ Boston manager John Farrell said. ‘‘They love to compete and love to work on any given day. I think this is the 30th time we've come from behind to win and it kind of shows the grit and character that’s been with this team all year.’’

Shane Victorino drove in a run for Boston with an RBI single after collecting a career-best seven RBIs and hitting two homers in a 13-2 win on Tuesday night. Craig Breslow (4-2) got two outs to earn the win and Koji Uehara got his 14th save with a perfect ninth for Red Sox who won their fourth straight.

Chris Davis hit his major league-leading 47th homer and added an RBI double for Baltimore which lost for the sixth time in its last eight games.

Saltalamacchia hit a two-out double high off the left-field wall against Tommy Hunter (3-3) and Stephen Drew was walked intentionally before Carp’s bloop fell just past the glove of Machado in short left field.

The Red Sox rallied against Baltimore’s bullpen tying it 3-3 on Dustin Pedroia’s two-run single off Darren O'Day in the seventh. Jacoby Ellsbury barely beat a throw to the plate sliding in before a sweeping tag attempt by Matt Wieters.

‘‘It’s not necessarily one that got away’’ Baltimore manager Buck Showalter said. ‘‘They just dumped one in over there.’’