NEW YORK -- Denard Span decided during warmpus that the tightness in his back was tolerable and he would give playing a shot.
He felt a whole lot better when he was running out the go-ahead, infield single in the 11th inning.
Scratched from the lineup the previous night because of his back, Span had three hits and two RBI in the Washington Nationals' 5-4 victory Wednesday that ended the New York Yankees' seven-game winning streak.
"Get on my horses. We need a win, and we're ready to get on an airplane," Span said. "So I just dug deep and tried to get to first."
Span's hustle helped the banged-up Nationals win for only the third time in 12 games.
After the game, Yankees manager Joe Girardi said closer Andrew Miller will go on the disabled list because of a strained forearm muscle, an injury that pushes setup man Dellin Betances into a ninth-inning role.
Miller won't pick up a ball for 10 to 14 days.
"I think it was one of those things that was building," Miller said. "It hasn't been recovering quite like I wanted it to, so it's frustrating more than anything for me."
Tyler Moore led off the 11th with a single off Chris Capuano (0-4) and advanced on Jose Lobaton's sacrifice and Danny Espinosa's tapper back to the mound. Span then hit a high chopper up the middle. Second baseman Stephen Drew fielded the ball as he crossed second base but Span beat the one-hop throw.
"That's not an easy transition you want on your first day back," manager Matt Williams said. "We need him. He's an important part of our club."
Alex Rodriguez had a tiebreaking double to end a 0-for-11 drought in a four-run seventh that put New York up 4-2. Brendan Ryan, who came off the 60-day disabled list, had a one-out RBI triple to chase Gio Gonzalez after 6 1/3 sharp innings.
Brett Gardner's RBI double off Felipe Rivero tied the score 2-all, and Rodriguez and Brian McCann had run-scoring hits off Aaron Barrett. McCann's single bounced off second base and over a perfectly positioned fielder.
After Yunel Escobar singled to open the eighth, Girardi replaced Nathan Eovaldi with Lindgren, the first pitcher Harper ever faced in professional baseball who was younger than the Washington star. Harper, who made his major league debut as a 19-year-old and is 7 months older than Lindgren, flied out to left.
Lindgren then got a forceout before Taylor homered the opposite way to right field.
"Just trying to put the barrel on the ball," Taylor said. "In a situation like that it's easy to try to do too much."
No. 9 batter Espinosa doubled with two outs in the third for Washington's first hit and scored on Span's double. Espinosa homered in the fifth for a two-run lead.
Eovaldi, remained winless in interleague play -- he's 0-4 in 12 career starts. He yielded three runs and eight hits in seven-plus innings.
Yankees: RHP Ivan Nova (Tommy John surgery) was at Yankee Stadium before the game to throw a bullpen. He'll next make a rehab start for Triple-A Scranton/Wilkes-Barre on Saturday. Girardi said Nova should be able to throw 85-90 pitches. ... CF Jacoby Ellsbury (sprained knee) will make the road trip with New York then remain in Florida after the two-game series in Miami that ends Tuesday. Girardi said Ellsbury, on DL since May 20 will not play in rehab games "right away."
Yankees: After an off day, the Yankees open a three-game series at Baltimore. RHP Michael Pineda (7-2) is set to start after his last turn in the rotation was skipped in order to manage his innings this year.
Following the game, the Yankees optioned infielder Jose Pirela to Triple-A Scranton/Wilkes-Barre.
Harper went 1 for 4 and has reached base in 29 of the Nationals' 30 road games this year.
Alvarez: Astros showing we are the best team in the league
Yordan Alvarez discusses the Astros advancing to the World Series and how much they proved in beating the Red Sox.
St. Louis Cardinals plan to hire bench coach Oliver Marmol, 35, as next manager, sources say
The St. Louis Cardinals, looking for a new direction headed into next season, plan to hire Oliver Marmol, 35, as their next manager, sources told ESPN's Jeff Passan on Sunday night, after the club dismissed Mike Shildt earlier this month.
Sources: San Diego Padres locked in on hiring Indians' Ruben Niebla as pitching coach
The Padres are locked in on hiring Ruben Niebla to be their next pitching coach, sources told ESPN. Niebla has been with the Indians since 2001.
Houston Astros' Framber Valdez gets starting nod for World Series Game 1, will be opposed by Atlanta Braves' Charlie Morton
After tossing a gem at Fenway Park in the ALCS, Houston left-hander Framber Valdez will start Game 1 of the World Series for the Astros on Tuesday, opposed by Atlanta Braves right-hander Charlie Morton.
Braves vs Astros: A World Series 6 decades in the making
— Freddie Freeman swinging onto baseball’s biggest stage for the first time, Jose Altuve & Co. back for more. Luis Garcia, Framber Valdez and a fresh set of Houston arms facing Ozzie Albies, Austin Riley and these eager, young Atlanta bats.
Taylor: I don't thinking about hitting HRs, they happen by accident
Chris Taylor downplays the three home runs he hit in the Dodgers' 11-2 win over the Braves.