His approach paid off and kept Colorado's faint playoff hopes alive.
Hampson hit a bases-loaded single in the bottom of the 10th inning, and the Rockies rallied to beat the Miami Marlins 7-6 on Sunday, completing a three-game sweep.
Nolan Arenado homered twice for Colorado, which has won four straight and swept a series for the first time since June 18-20. It took a wild finish in which the lead changed three times after the seventh inning.
"It's not an easy thing to do in this game, so it felt good to do it," Arenado said of the sweep. "I don't know if we're in it or out of it, we just have to focus on ourselves and win ballgames."
The Rockies loaded the bases with no outs in the 10th against Jeff Brigham (2-2). Daza had an infield single, Raimel Tapia reached when his grounder got past Isan Diaz -- the second baseman's second error of the game -- and Ryan McMahon singled.
"I was hoping it was going to be deep enough and then I looked out there and there was nobody out there," Hampson said. "Got the job done. It's what you play for. It's what you want to do."
Arenado gave the Rockies a 4-3 lead in eighth inning with his 30th home run of the season, a two-run shot off of reliever Austin Brice. Colorado's Wade Davis, who moved back into the closer's role he lost to Scott Oberg two weeks ago, started the ninth by walking Jorge Alfaro. Lewis Brinson doubled and Neil Walker singled to tie it.
Carlos Estevez came on and allowed a sacrifice fly and Brian Anderson's double, which gave Miami a 6-4 lead. But Diaz couldn't field a grounder cleanly in the bottom of the inning, helping the Rockies tie it against Ryne Stanek.
"Obviously I was just trying to get an out," said Diaz, who was playing in his 13th game since being called up from the minors. "I was a little too quick to the ball, a little too fast. The thing is to catch the ball first. I didn't do it."
Miami manager Don Mattingly said the rookie learned a tough lesson.
"We'll make sure we talk with him," he said. "It is something I think that'll help him. You don't want to have that lesson. I've learned that lesson the same way. It's not an easy one to swallow, but you do come out on the other side of it."
Blackmon hit his 26th homer in the sixth to cut the Marlins' lead to 3-2.
Rockies: RHP Oberg was placed on the 10-day injured list with a blood clot in his right arm. Oberg had a procedure to dissolve the clot at a hospital on Saturday and stayed overnight, manager Bud Black said. Colorado recalled RHP DJ Johnson from Triple-A Albuquerque.
Estevez was pitching for the second straight day and starting to feel the effects of throwing 31 pitches, so when Brinson came up with two outs and a runner on in the 10th, Black ran out to talk to him.
"I got a runner on, got two outs and he came out to check on me," Estevez said. "I told him, `Honestly, I'm tired but I got one more in the tank.' He said, `Go get him, blow one by him."
Estevez struck Brinson out on three pitches, the last a 97-mph fastball.
"He was tiring a bit and I wanted to let him know he was still throwing the ball well," Black said. "His matchup with Brinson was critical."
Marlins: RHP Elieser Hernandez (2-5, 5.40 ERA) will open a three-game series at Atlanta starting Tuesday. It will be his third start and eighth appearance against the Braves.
Rockies: RHP Chi Chi Gonzalez (0-4, 6.57) takes the mound at Arizona on Monday for the start of a three-game series against the Diamondbacks.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Royals' Alex Gordon agrees to accept trades starting June 16
Alex Gordon agreed to consent to a trade by the Royals starting June 16, an unusual provision in his new one-year, $4 million contract.
Why Astros' penalties are harsh enough, despite calls for much more
Although some have said Houston got off too lightly, Rob Manfred's sanctions will cause the team the right amount of pain.
Mets make it official, announce Luis Rojas as new manager
The Mets will officially introduce new manager Luis Rojas on Friday at Citi Field.
Mariners' Mitch Haniger likely needs core-muscle surgery, GM says
Mariners outfielder Mitch Haniger likely needs to undergo core-muscle surgery and is expected to miss the start of the season.
Major League Baseball to sponsor U.S. Olympic softball team
Major League Baseball is using its financial muscle to support the U.S. women's softball team, which already is assured a spot in the Tokyo Olympics while the American men's baseball team struggles to qualify.
Nolan Arenado won't speak publicly on Rockies relationship 'anymore'
Rockies All-Star third baseman Nolan Arenado said Wednesday in a statement to the Denver Post that he will no longer publicly comment on his relationship with the club.