Span scored from second on third baseman Jordan Pacheco's throwing error in the ninth inning, and the Nationals stretched their winning streak to 10 games with a 1-0 victory over the Arizona Diamondbacks on Thursday.
"We just feel confident that somehow, some way we're going to find a way to inch off a victory," Span said.
Five of Washington's last six wins have come in its final at-bat of the game, and the win streak is tied for the franchise record. Kansas City is the only other team to win 10 consecutive games this year.
"It's not how you plan it," Nationals manager Matt Williams said.
Pacheco's throw bounced off the dirt and into the first-base camera well, and Span was awarded home.
"That what's guys like me, speed guys, dream of," said Span, who set a career high with his 27th stolen base. "That's way more important than stealing two or three bags in the first five innings."
The Diamondbacks have lost six straight for the second time this season and dropped to 5-14 in August. Eight of Arizona's last 10 games have been decided by one run.
"I guess some losses are a little more difficult," first baseman Mark Trumbo said. "I think we battled as well as we could. Just didn't have too much offense to show for it."
The Nationals also struggled at the plate, going went 0 for 13 with runners in scoring position.
Gio Gonzalez pitched seven innings for Washington in his longest outing since July 26, and his first without an earned run since July 5. He allowed four hits and walked three while lowering his career ERA against Arizona to 1.33 in three starts.
"I just wanted to try and blend in with the rest of the rotation," said Gonzalez, who is 0-5 in his last eight starts. "You try not to stick out like a sore thumb."
Somehow, Wade Miley matched Gonzalez for 6 2-3 innings despite allowing eight hits and walking a season-high six batters.
Miley retired Adam LaRoche three times to end an inning -- twice on double plays -- before walking him to load the bases with two out in the seventh. Matt Stites got Wilson Ramos to fly out to right to end the threat.
Nationals: INF/OF Ryan Zimmerman (right hamstring strain) threw on the field for the first time since going on the disabled list July 23. There is no specific timetable for his return. "You have to use that muscle to throw," Williams said. "It's part of the strengthening process." ... INF/OF Steve Souza (right shoulder strain) joined Single-A Hagerstown to begin a rehab assignment. ... OF Nate McLouth was scheduled to have season-ending shoulder surgery Thursday, Williams said.
Diamondbacks: INF Chris Owings (left shoulder strain) will continue his rehab assignment at Triple-A Reno on Friday after going 4 for 7 in three games with Arizona's rookie league club. . OF A.J. Pollock (fractured right hand) took light batting practice Thursday.
Nationals: RHP Doug Fister (12-3, 2.20 ERA) looks for his third win in August in the first of a three-game set at home against San Francisco.
Diamondbacks: RHP Josh Collmenter (8-7, 4.31 ERA) will make his fifth career start against San Diego on Friday as Arizona begins an eight-game, 10-day homestand.
With two outs in the fifth, left fielder Bryce Harper made life more difficult for Gonzalez by over-running Miley's single, allowing Alfredo Marte to reach third, and then throwing to home as Miley took second.
Trumbo became just the second Diamondbacks runner in 12 attempts to be caught stealing when Wilson Ramos threw him out at second to end the sixth.
What to know about 2022 Baseball Hall of Fame vote: Is Ortiz getting in? Will Bonds, Clemens fall short?
Cooperstown's newest inductees will be revealed Tuesday. Here's who is most likely to make it and the big stars who won't.
MLB lockout: Are the owners and players talking? Should baseball fans be worried? Here's the latest
Nearly two months since the lockout began, it's time for another update on where baseball's immediate and long-term future stand.
What's next for Rays after Montreal split-season plan is nixed?
Alden Gonzalez reports on the Rays having their proposal to split their home games between Tampa Bay and Montreal rejected by Major League Baseball.
Sources: MLB Players Association to make counteroffer to league in Monday meeting
The MLB Players Association is expected to make a counteroffer to the league on Monday, 11 days after clubs gave the union a proposal, sources told ESPN.
Robot umpires at home plate moving up to Triple-A for 2022, one step away from major league baseball
Major League Baseball is expanding its automated strike zone experiment to Triple-A, where it will deploy robot umpires at home plate for the 2022 season.
David Ortiz's Hall of Fame case
Outside the Lines looks at David Ortiz's Hall of Fame candidacy and what may be holding him back from induction.