A four-run eighth inning helped the Pirates overcome an early deficit and avoid a sweep as they beat the Brewers, 6-4, this afternoon at Miller Park. Starling Marte hit a two-run homer off Milwaukee reliever John Axford to tie the score with no outs in the eighth, and Brandon Inge hit a two-out, RBI single to give the Pirates (16-12) the lead. After Travis Snider legged out an infield single to start the inning, Marte cranked Axford's 1-1 offering for his second game-tying home run in as many games. Axford, once the Brewers' closer, has allowed six home runs in 13 outings this season. Marte now has three home runs on the year. Jose Tabata left the game in the eighth with an apparent left leg injury after stealing second base with two outs. But James McDonald, pinch-running for Tabata, scored on Inge's single through the right side of the infield. Inge later scored when Pedro Alvarez singled to right field, giving the Pirates an insurance run. Tabata, 24, has battled a variety of leg injuries throughout his young career, including hamstring and quad injuries to his left leg. Brewers starter Hiram Burgos, making his third career start, allowed two earned runs on four hits in seven innings. Making a spot start, Jeanmar Gomez couldn't give the Pirates much length. He allowed three runs, two earned, on four hits in four innings. Gomez was pitching in place of Jonathan Sanchez, whom the Pirates moved to the bullpen Monday before designating him for assignment Tuesday. The Brewers blasted back-to-back homers for the third time in the past three games to take a two-run lead in the fourth inning.