Hours after New York shipped Chapman to the Chicago Cubs, All-Star relievers Dellin Betances and Andrew Miller closed out Houston to help the fourth-place Yankees (51-48) move three games above .500 for the first time this season.
"You're not asking a young kid to maybe step into something that he's never done before," manager Joe Girardi said. "We still have a lot of experience down there; the bridge becomes very important. Obviously we didn't need it tonight, but that becomes very important."
Betances struck out the side in the eighth before Miller, back in the ninth-inning role following Chapman's departure, earned his eighth save. The fired-up lefty pumped his fist when he got Carlos Gomez to ground into a game-ending double play with two on.
A frustrated Gomez spiked his helmet and kicked at the ground after he was out at first base.
"Obviously, he's pretty good at what he does, so we're going to have to find a way to fill the hole that he leaves," Miller said about Chapman. "We've got talented guys who are capable of stepping up, and it's up to them to do it. I think they will."
Pineda (5-9) pitched seven strong innings to beat Yankees nemesis Dallas Keuchel (6-10), last year's AL Cy Young Award winner.
"I didn't want to make any mistakes because I knew this team is aggressive for the first pitch," Pineda said. "I threw my best pitch for the first pitch."
Romine's double to deep center field scored Chase Headley, who singled to start the eighth.
"He's done a really good job all around," Girardi said about Romine. "This is a kid that's really persevered. He's really fought to get to this spot and he's had a really good year."
Headley singled in the fifth to drive in Didi Gregorius, tying it at 1.
Pineda allowed five hits and struck out eight in his second straight solid outing after throwing six scoreless innings Wednesday against Baltimore.
The big right-hander retired 14 of 15 during one stretch, but ran into trouble in the sixth. He loaded the bases with two outs before Bregman flied out to the right-field warning track.
Springer's fifth leadoff home run of the year was the 11th for the Astros this season, surpassing the previous club record of 10 set in 2001.
Keuchel gave up two runs and six hits with five strikeouts in 7 2/3 innings. He has allowed two runs or fewer in four straight starts.
The left-hander retired 13 of his first 14 batters. The only hit he gave up was Romine's single in the third until Gregorius' double in the fifth.
"I felt like today was the first time even through this whole stretch that I was able to command both sides of the plate," Keuchel said. "Fastballs to both sides. The only thing lacking were a few sliders to Romine."
Chapman was sent to the Cubs for pitcher Adam Warren and three minor league prospects.
Astros: INF Marwin Gonzalez sat out after spraining his left ankle in the fifth inning Sunday. "He's doing OK," manager A.J. Hinch said. "We are keeping him out of some baseball activities to monitor his ankle. We'll give him the day off, but I would really like him to play tomorrow if he's capable."
Yankees DH Alex Rodriguez was out of the lineup for a third straight game. Rodriguez, who is 4 for 31 with one home run in July, is batting .206 this season with nine home runs and 29 RBI, but he's optimistic after speaking to the Yankees' sabermetrics department. "There's no question that for the first two months, my mechanics were out of whack," Rodriguez said. "I think I found something, and I'm excited to put it into play."
Yankees: LHP CC Sabathia (5-8) will start his 18th game of the season Tuesday. Sabathia has allowed 31 runs -- 29 earned -- in his last 35 innings, spanning six starts.
Astros: RHP Doug Fister (10-6) will make his 20th start of the season and look to follow up one of his best outings of the year when he threw seven scoreless innings Wednesday at Oakland.
'The W is all that matters': Chicago Cubs manager David Ross is already in playoff mode
Entering his first postseason at the helm, Chicago's rookie skipper has shown he'll be ready for what's ahead.
Tatis makes tremendous leaping catch to rob Springer
Fernando Tatis Jr. gets a good jump on the ball and makes a leaping catch to rob George Springer of a base hit.
Suddenly hot Angels begin final series, face Dodgers
Two of the hottest teams in baseball will meet during the final weekend of the season, and only one of them will have a desperate sense about them.
A's battling for No. 2 seed as they host Mariners
While the Oakland Athletics have already clinched the American League West title, they still have something to play for in the last few days of the regular season.
Astros hope booming win over Rangers is only the beginning
The Houston Astros' long-lost offense reappeared at an opportune time Thursday and moved the club within a win of securing a fifth postseason berth in six seasons.
Playoff positioning the prize in Cubs-White Sox series
Many socially distanced Chicago baseball fans envisioned a dazzling encounter between the Cubs and host White Sox when the truncated schedule pitted the teams against each other for the final weekend of the regular season.