Gorkys Hernandez and Justin Ruggiano also knocked in a run each during the uprising, which erased a 2-0 deficit.
Carlos Lee added a two-run double in the eighth to ice Miami's victory.
Ricky Nolasco (9-11) earned the decision after holding the Dodgers to a pair of runs on nine hits over five full innings. The right-hander walked one and struck out one en route to breaking a five-start losing streak.
The Marlins squared their three-game series with the triumph.
Joe Blanton (8-10) was touched for four runs on six hits in a five-inning effort for the Dodgers, who fell one game behind the San Francisco Giants atop the National League West with the loss.
Matt Kemp went 3-for-5 with an RBI for Los Angeles.
Astronomers offer more expansive view of universe
McPhee, Cokas 'working on their marriage' after affair