Jackie Bradley Jr. hit a two-run single during Boston’s four-run rally in the seventh inning and the Red Sox beat the Atlanta Braves 6-3 on Tuesday night in the latest comeback following their longest losing streak in 20 years.

Dustin Pedroia had three hits and Grady Sizemore had two, along with a go-ahead groundout in the seventh.

The Red Sox snapped their 10-game losing streak on Monday, overcoming a five-run deficit to top Atlanta 8-6.

Jon Lester (5-6) snapped a personal two-game losing streak by giving up three runs on eight hits and three walks in six innings. Koji Uehara retired the Braves in order in the ninth for his 11th save.

Braves starter Aaron Harang left with a 3-2 lead after the sixth. Anthony Varvaro (1-1) took the loss.

Jason Heyward hit a first-inning homer and Chris Johnson drove in two runs for Atlanta.

Braves catcher Evan Gattis was a late scratch after straining his right wrist in batting practice. He sat on the bench with a brace, and the team gave no immediate word on the severity of the injury.

Atlanta shortstop Andrelton Simmons left in the eighth with inflammation in his right ankle and was listed as day to day.

Harang gave up seven hits before Boston tagged the Braves’ bullpen in the seventh.

Varvaro gave up one-out singles to Xander Bogaerts and Dustin Pedroia before left-hander Luis Avilan was summoned to face David Ortiz.

Ortiz, batting .283 against left-handers and .263 versus right-handers, hit an RBI single that made it 3-all.

A day earlier, he homered and drove in four runs at Turner Field. He drew loud boos in the eighth when he grounded out and then broke his bat over his knee.

After Ortiz tied it, Jonny Gomes’ blooper to right field loaded the bases and. Sizemore’s broken-bat groundout drove in Pedroia for a 4-3 lead.

After an intentional walk to David Ross, Bradley singled.

Sizemore doubled with one out in the fourth and stole third. Braves manager Fredi Gonzalez challenged the call, but a replay review showed Sizemore was safe. Ross hit a single that made it 2-all.

Freddie Freeman’s first triple of the year set up the Braves’ go-ahead run in the fifth. Justin Upton and Johnson hit a blooper that fell in right that Boston turned into an RBI forceout at second.

Gomes delivered the defensive highlight of the game with his diving catch on Gerald Laird’s sinking liner in right field in the eighth.

NOTES: Heyward’s HR was the first allowed by Lester to a left-handed hitter in 180 at-bats, including postseason games, since July 18, 2013. … The teams will play the first of two games in Boston on Wednesday night when Red Sox RHP John Lackey faces RHP Gavin Floyd.

Join our Newsletter for the latest news right to your inbox