Updated

WASHINGTON (AP) Wilson Ramos blooped a two-run single to right with one out in the bottom of the eighth that helped the Washington Nationals to a 5-4 victory over the Arizona Diamondbacks on Tuesday night.

Ryan Zimmerman led off the eighth with a walk off David Hernandez (0-2) and went to third on Jayson Werth's double. One out later, Ramos sliced his single that snapped a 3-3 tie and scored both Zimmerman and Werth.

Drew Storen (2-0) earned the win thanks to a perfect eighth.

Jonathan Papelbon posted his 19th save of the season and his second with the Nationals, despite allowing an unearned run in the ninth. Washington snapped its four-game losing streak.

The Nationals scored just nine runs during their losing streak but needed just five batters in the first inning to take a 3-0 lead.

Yunel Escobar homered to lead off and Zimmerman (single) and Werth (ground out) both drove in runs off Patrick Corbin to give Nationals starter Max Scherzer a quick lead.

Scherzer has been one of baseball's top pitchers this year but uncharacteristically could not hold that lead.

The Diamondbacks scored three in the fourth, tying it on a two-run double from Chris Owings, as Scherzer needed to throw 40 pitches in that frame and 114 overall in six innings.

The start of the game was delayed by 30 minutes due to concerns about storms in the area - although it rained little at the stadium, if at all.

TRAINER'S ROOM

Diamondbacks: Manager Chip Hale said he's still not sure about the future of his starting rotation. RHP Chase Anderson (triceps inflammation) could be activated after only one rehab start, rookie RHP Zack Godley could remain with the team or both might be used in a six-man rotation.

Nationals: RHP Stephen Strasburg (left oblique strain) was back in Washington before the game. Strasburg said although he felt fine after striking out 11 in 5 2/3 innings during a rehab start with Triple-A Syracuse Monday, there was still no timetable for his return. ''Stuff's there, so it's just trying to keep doing the same things and keep working at all the stuff I've been doing,'' he said. ''I'm going in the right direction.''

UP NEXT

Arizona RHP Rubby De La Rosa (6-5, 4.59) will make just his second career start against the Nationals and LHP Gio Gonzalez (8-4, 3.75), who is 2-0 with a 2.84 ERA in four career starts against the Diamondbacks.