Yoenis Cespedes hit a go-ahead homer in the eighth inning moments after pinch-hitter Kelly Johnson connected for a tying shot, and the New York Mets rallied past the Washington Nationals 5-3 Wednesday night for a pivotal three-game sweep.

Jacob deGrom pitched seven strong innings in a tight duel with Nationals starter Stephen Strasburg, who struck out a season-high 13.

Johnson's drive to right off Strasburg tied it before Cespedes teed off against struggling Drew Storen, sending the Mets to their third consecutive comeback victory in the series.

More from FoxSports

The sweep extended New York's lead in the NL East to seven games over Washington.