AP photo by John Bazemore / Atlanta Braves second baseman Ozzie Albies watches his two-run double in the seventh inning of Friday's home win against the Miami Marlins.

ATLANTA — The Atlanta Braves' training staff told Ronald Acuña Jr. to be ready on the bench if needed.

That was all Acuña needed to know.

Acuña's pinch-hit double tied the game, and he scored the go-ahead run on Ozzie Albies' two-run bloop double in the seventh inning as the Braves recovered after blowing an early three-run advantage to beat the Miami Marlins 6-4 on Friday night.

"You know me, I'm always ready to play," Acuña said through a translator after being held out of the starting lineup for the third straight game due to a strained right quadriceps.

Miami led 4-3 before Acuña's double down the left-field line off Anthony Bass (1-2) drove in Matt Olson, who led off the seventh with a walk. The sellout crowd of 40,064 at Truist Park was still celebrating Acuña's hit as Bass walked Dansby Swanson.

Albies then hit a blooper that fell into shallow left field. As Marlins left fielder Jorge Soler held the ball too long, Acuña easily scored the go-ahead run and Swanson ran through third-base coach Ron Washington's stop sign to also score.

"I just had an instinct," Swanson said. "For a split-second, I felt like his attention went to Ozzie or his eyes moved. It was something as I was running to third that I processed that he was like on his second read."

Soler threw the ball to Joey Wendle at third base instead of to the plate.

"It looked like he had a little bit of hesitation," Marlins manager Don Mattingly said of Soler. "I know Dansby ran through the stop sign. ... I don't know if he saw it, too."

Acuña said he wasn't surprised Swanson scored.

"That's our style of play," Acuña said. "We are always going to play hard. If a team is caught sleeping a little bit, we're going to take advantage of that situation."

Acuña ran the bases before batting practice and could start Saturday in the second matchup of a three-game series between National League East Division rivals. He remained in the game in right field after his pinch-hit double.

Atlanta reliever Jackson Stephens (1-1) had two strikeouts and allowed no hits in two scoreless innings behind starter Ian Anderson.

Braves manager Brian Snitker called the comeback "huge" as the reigning World Series champions (22-24) "are trying to get going."

"Those kind of wins can just be so good for a club's psyche," Snitker said.

Kenley Jansen gave up a one-out single to Brian Anderson in the ninth before recovering for his 11th save in 13 chances this year. Jansen struck out Jacob Stallings and Jesús Sánchez, each on called third strikes, to end the game.

Bass allowed two runs while recording two outs.

Jesús Aguilar hit a go-ahead two-run homer in the sixth inning as Miami took a 4-3 lead after trailing 3-0.

Garrett Cooper also hit a two-run homer in the Marlins' four-run sixth off Anderson. It was a quick answer by the Marlins after Atlanta's three-run fifth against Trevor Rogers, who was perfect through four innings.

Austin Riley's fifth-inning homer produced the game's first run — and was Atlanta's first hit. Travis d'Arnaud followed Riley's homer with a double off the glove of shortstop Miguel Rojas into left field. With one out, William Contreras drove in d'Arnaud with a double to the wall in center field.

Rogers allowed three runs on four hits and one walk in five innings. It was an improvement from his previous start, when he gave up five runs on eight hits in four innings in a 5-3 loss to the Braves on May 20.

"He was a lot better today," Mattingly said.

Atlanta outfielder Travis Demeritte snapped an 0-for-34 slump with a run-scoring single to left field that drove in Contreras in the fifth for a 3-0 lead. After getting his first hit since May 14, a grateful Demeritte placed his hands together in a prayerful pose as he stood and smiled at first base.

Braves left fielder Marcell Ozuna (lower abdominal tightness) started after missing one game.