WASHINGTON (AP) - Wilson Ramos' ninth-inning grounder bounced off a leg of third baseman Chris Coghlan for a game-ending error that allowed pinch-runner Eury Perez to score from third, and Washington beat the Miami Marlins 5-4 Sunday night for a doubleheader split that left the Nationals five games back in the NL wild-card race with six games left.
Giancarlo Stanton and Christian Yelich homered as Miami won the opener 4-2.
The Nationals honored retiring manager Davey Johnson with a 15-minute pregame ceremony before the first game.
Rafael Soriano (3-3) pitched a scoreless ninth inning to win Washington's regular-season home finale, and Denard Span drove in three runs.
Jayson Werth off Sam Dyson (0-2) leading off the ninth, and Perez pinch ran and stole third with one out.
Coming back from right forearm tightness, Stephen Strasburg allowed three runs and six hits in six innings and left with a 4-3 lead. Stanton hit a tying double off Tyler Clippard in the eighth.