Leading 3-0 in the fourth, Milwaukee loaded the bases with two outs against Reds starter Homer Bailey (1-3) and Ramirez laced a 2-2 pitch into the right-field corner, chasing home all three runners to break the game open.
Yovani Gallardo (2-3) struck out eight Reds batters over six innings for Milwaukee, allowing two runs on four hits.
Bailey was roughed up for six runs on six before leaving after 3 2/3 frames.
Jay Bruce went 2-for-4 with a two-run homer for Cincinnati.
Celebrity Families of 2014 [PHOTOS]