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.
Jordana Brewster on Paul Walker: 'He was an enormous presence in my life'
Exploding whale video goes viral on Internet