Ryan Braun hit two home runs for the Brewers, who let an early three-run lead slip away before coming back to win their second in a row.
Braun's second solo home run of the game lifted Milwaukee into a 6-6 tie in the sixth and the Brewers then got to Tony Watson (4-1) in the eighth.
Braun and Aramis Ramirez reached on one-out singles and they executed a double steal as Corey Hart was swinging at a third strike. Rickie Weeks was intentionally walked to load the bases and that strategy backfired when Ransom hit a 2-2 pitch over the wall in left-center.
That clutch hit made a winner out of Francisco Rodriguez (2-4), who walked one and struck out two in the top of the eighth.
Celebrity Families of 2014 [PHOTOS]