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.
Trader Joe's: Car crashes into Long Island store, injuring 11
Selena Gomez drops F-bomb, walks off stage during Jingle Ball performance