The Dodgers won their ninth game in a row and completed a four-game sweep of the Nationals as Albert Pujols delivered the go-ahead hit in the seventh inning.