MILWAUKEE -- Home runs by second baseman Scooter Genentt and left fielder Khris Davis helped the Milwaukee Brewers prevent a sweep with a 9-2 victory over the Washington Nationals on Wednesday afternoon at Miller Park.

Both home runs came off Washington ace Stephen Strasburg (6-6), who went just 4 2/3 innings -- his third shortest start of the season -- and gave up seven Milwaukee runs, eight hits and a season-high three walks.

After playing 16 innings the night before, both teams went with modified lineups Wednesday.

The Brewers rested catcher Jonathan Lucroy, third baseman Aramis Ramirez and right fielder Ryan Braun but somehow snapped out of an offensive funk against Strasburg, who came into the game 3-1 with a 2.87 ERA in his last five starts.

Making his major league debut, rookie right-hander Taylor Hill allowed two more runs and four hits -- all singles -- in 3 1/3 innings after being recalled from Triple-A Syracuse earlier in the day.

Brewers right-hander Marco Estrada (7-4) had his best start in several weeks, allowing just one hit in 6 1/3 innings and did not allow a home run for just the second time this season.

Estrada's last start without giving up a home run came April 15 against the St. Louis Cardinals. He had allowed 19 home runs in his last 10 starts and was in danger of losing his spot in his rotation.

Washington took advantage of four Estrada walks and a wild pitch to generate its early offense, taking a 1-0 lead when first baseman Adam LaRoche, who led off the second inning with a walk, scored on right fielder Nate McLouth's fielder's choice.

Gennett gave Milwaukee a 4-2 lead with a grand slam in the bottom of the inning.

After the Nationals cut the deficit to one with an RBI double from shortstop Ian Desmond in the fourth, Davis belted Strasburg's first offering to left-center field for his 14th home run of the season in the bottom of the inning.

Davis and Gennett finished with two hits apiece.

NOTES: After using six relievers to cover 10 innings Tuesday night, Milwaukee optioned RHP Mike Fiers to Triple-A Nashville on Wednesday and recalled RHP Alfredo Figaro. ... The Nationals also made a move, summoning RHP Taylor Hill from Triple-A Syracuse and designating INF Greg Dobbs for assignment. ... Washington continues a seven-game road trip Thursday at Wrigley Field, where the Nationals will send RHP Doug Fister to the mound in the opener of a four-game series with the Cubs. ... Milwaukee opens a four-game set with Colorado at Miller Park on Thursday with RHP Wily Peralta taking on LHP Christian Friedrich.