Starling Marte added a sacrifice fly in the sixth for the Bucs, who took the rubber match of their three-game series and grabbed a share of the National League Central lead with their 16th victory in May.
Starter Wandy Rodriguez (6-2) lasted just long enough to earn the win, yielding three runs on seven hits.
Milwaukee's Yovani Gallardo (3-5) was touched for four runs on five hits over four full frames.
Ryan Braun supplied a bases-clearing double for the Brewers.
Susan Sarandon 'very excited' about daughter's pregnancy
Interpol investigating stolen passports on missing flight