Milwaukee came back in the bottom of the frame when Carlos Gomez drew a leadoff walk from Marlins closer Heath Bell (2-4). After Norichika Aoki flied out, Gomez stole second as Ryan Braun went down swinging.
That brought up Ramirez, who pounded a pitch over the right-center field wall, giving Milwaukee its third straight win in its final at-bat.
The Milwaukee third basemen finished with four RBI while Braun smacked a three-run homer as the Brewers banged out 17 hits en route to their fourth consecutive victory overall.
NBC reportedly holds celebs hostage to Jimmy Fallon's show
Boston schools pull out free condoms over wrapping complaints