The Milwaukee Brewers ended one of those "woulda, coulda, shoulda" road trips on an encouraging note Sunday.

With right-hander Jimmy Nelson pitching 52/3 innings of shutout ball filling in for injured Yovani Gallardo and the offense scoring early and often, the Brewers rolled to a 7-1 victory over the Marlins at Marlins Park.

The victory left the Brewers with a 4-6 record on their longest trip of the season. They gave away a game in Atlanta with a bullpen snafu and another Saturday here with a base-running mistake, but those frustrating losses stayed in the rear-view mirror in the finale against the Marlins.

Ryan Braun led a 14-hit attack with his first four-hit game of the season, falling a home run short of the cycle.

"I thought everybody contributed, which is great," said Brewers manager Ron Roenicke. "Offensively, we did a real nice job.

"You lose today, and it turns into a really bad road trip. With the pitching that we have and with signs of offense going in the right direction, I think it's good."

Summoned from Class AAA Nashville to make one start, Nelson took advantage of the opportunity by keeping the Marlins off the board during his one-day showcase. He allowed five hits and three walks while logging six strikeouts, but had enough command issues to build his pitch count to 107 before departing.

"He's got really good stuff," said Roenicke. "He let a lot of balls get away from him today, but he made some great pitches when he needed to and threw some great sliders when he needed to get outs.

"It's going to be a matter with him of trying to command the ball and not letting so many balls get up and away from him. But his fastball is outstanding, and his slider is a really good slider. This guy's got good stuff and he battles and he wants to be out there. He's got a lot of good things going for him."

Sweating profusely, Nelson lost the grip on the ball at times but made big pitches when it counted. His moment of truth came in the fifth inning, when the Marlins loaded the bases with one out, only to have Nelson strike out Derek Dietrich and pop up Giancarlo Stanton, who whiffed on sliders in his first two at-bats.

"I battled myself mechanically all day," said Nelson. "I didn't have my best stuff, but the guys did a great job of picking me up by scoring those five runs the first couple of innings.

"They kept confidence in me when there were runners on. They did a good job of helping me settle in and give us a chance to win. Those first couple of innings, I just had to calm my nerves and try to execute pitches. I didn't make the correction mechanically soon enough, in my opinion, but I thought I did an all right job of battling."

Nelson had a big early cushion as the Brewers roughed up former teammate Randy Wolf with three runs in the first inning, two in the second and one in the third. Braun and Jonathan Lucroy smacked back-to-back doubles in the first, and Carlos Gomez added an RBI single.