HOUSTON (AP) It had been so long since Tampa Bay ace David Price got a win that it was almost 20 minutes after Sunday's game when he remembered exactly when it was.
Price shook off a tough start to strike out 10, pinch-hitter Jerry Sands broke three bats while singling home the go-ahead run in the eighth inning and the Rays beat the creative Houston Astros 4-3.
Price (5-6) allowed homers to Dexter Fowler and Matt Dominguez in the first inning. He left after the eighth and got his first win since May 13.
He had gone five starts without a win, which was one shy of a career high.
''I didn't remember my last win until about five minutes ago,'' Price said. ''I think that was three road trips ago. It's been rough. That was big. Hopefully it can get us going in the right direction.''
It was the 20th career double-digit strikeout game for Price, setting a Tampa Bay record.
''It's cool,'' he said. ''I didn't know that. I didn't know I was one away.''
It is the sixth time he has fanned at least 10 this season, which is the most in the majors and ties his career high set in 2011.
For the second time in a week, Astros manager Bo Porter moved reliever Tony Sipp to left field, then brought him back to pitch. There was a brief delay as the umpires huddled after Porter's strategy.
''We felt like at that juncture of the game, it was the best move to give us an opportunity to win the game,'' Porter said of the maneuver. ''It gave us an opportunity to mount a comeback against a one-run lead rather than a bigger deficit.''
Tampa Bay, which has the worst record in the majors at 27-43, won a series for the first time since a three-game sweep at Boston on May 23-25.
''It's great to do that,'' manager Joe Maddon said. ''We need to start winning series.''
Matt Joyce singled to start the eighth and Jerome Williams (1-3) plunked Yunel Escobar. Sands then broke two bats on foul balls before shredding a third one on his hit to left field.
Sands was asked if all of the bats he used were his or if he had to borrow one.
''Yes (but) we had to dig deep,'' he said. ''It was pretty crazy. I don't think I've ever broken two in an at-bat, but three on three consecutive swings was pretty crazy.''
Jake McGee pitched a scoreless ninth for his first save.
Escobar had two hits and two RBIs for the Rays.
Price gave up a leadoff homer for the first time in his career when Fowler sent his 79 mph curveball into the Crawford Boxes in left field. That ball crashed off an LED video ad board, breaking it for the rest of the game.
The Astros connected again three batters later on Dominguez's two-out shot to left-center.
James Loney and Ben Zobrist singled to start the second before David DeJesus walked. Brad Peacock walked Escobar with one out, making it 2-1.
Fowler doubled in the third inning and scored on a two-out single by Jesus Guzman to extend the lead to 3-1.
DeJesus walked with no outs in the fourth inning, advanced to second on a wild pitch and scored on a double by Escobar to cut the lead to 3-2.
Williams replaced Darin Downs with one out in the sixth inning and he was greeted with a single by Escobar. Jose Molina singled and Desmond Jennings grounded into a force play that left Molina out at second.
Jennings was initially ruled out, too, for a double play, but Maddon challenged the play and it was overturned, giving the Rays a run that made it 3-all.
Soon after Sands' tiebreaking hit, Porter shuttled Sipp from the mound to the outfield. Maddon came out and talked to the umpires for a minute before play resumed.
Sipp returned to get the first two outs of the ninth.
Evan Longoria doubled with one out in the fifth before Houston rookie George Springer robbed Loney of extra bases when he made a running, over-the-shoulder catch on his fly ball just in front of the bullpen in right-center.
NOTES: Astros 2B Jose Altuve was out of the lineup for his third straight game after being hit on the right hand with a pitch on Thursday night. He pinch-hit in the ninth and grounded out. ... The Astros put RHP Josh Fields on the 15-day disabled list with soreness in his right forearm and recalled RHP Paul Clemens from Triple-A Oklahoma City. ... Houston agreed to terms on a minor league contract with RHP Jose Veras on Sunday. He will report to the Astros' spring training complex before going to Oklahoma City. ... The fathers of Houston pitchers Dallas Keuchel, Jarred Cosart and Josh Zeid each threw out a ceremonial first pitch to their sons on Sunday to celebrate Father's Day.