The Red Sox have prided themselves on never being out of a game this season, so it’s become no surprise when they engineer comeback victories. But what they pulled off Sunday was nothing short of unbelievable.

They looked lifeless through seven innings, being no-hit in a dominant performance by Yankees starter Domingo German. The Sox looked destined for a loss and a deflating end to the weekend at Fenway Park.

Then the improbable happened. One hit led to another, and another. In the matter of mere minutes, the Red Sox had turned the game on their heads. Six outs away from being no-hit, they stormed back for five runs in the eighth to steal a 5-4 win from the Yankees in one of the most thrilling and undoubtedly unthinkable victories in recent memory.

“We believe in what we do,” Alex Cora said. “We believe in our players. They keep fighting until the end.”

With the Rays losing to Cleveland, the Red Sox (61-39) moved back to a game up in first place in the AL East with their league-leading 32nd come-from-behind win of the season. A day after they had similarly blew a 3-0 lead in the eighth inning of a 4-3 loss to the Yankees, Cora called it the best comeback win of the year.

“We’re not going to quit, we’re not going to give up, regardless of what’s happened so far in the game or what’s happened in the past few days,” Kiké Hernandez said. “It kind of seems repetitive, but this is who we are.”

It all started with one hit, one they had been chasing for almost three hours. As Alex Verdugo roped a double over the head of Yankees right fielder Greg Allen, he raised his fist in the air, then tried pumping up the dugout after sliding into second.

Initially, the Red Sox were just happy to break up the no-hitter.

“That’s the biggest thing, you don’t want to be part of a no-hitter especially on the opposing side,” Verdugo said. “I was fired up getting the hit and, like I said, just getting that one hit makes a big difference.”

But even Verdugo wasn’t expecting what followed, as Yankees manager Aaron Boone proceeded to take German out of the game after the double. The Red Sox reeled off five consecutive hits to make it a 4-3 game before a game-tying groundout by Kevin Plawecki and Xander Bogaerts’ sacrifice fly scored Hernández for the go-ahead run, sending Fenway Park into delirium.

“That was one of the crazier comebacks that I’ve ever been part of,” Verdugo said.

The Red Sox are the biggest believers in themselves, but even Cora noticed a feeling of hopelessness in the dugout as they struck out 10 times against German and had just one baserunner through seven innings. It was the first time they had been no-hit through seven since Oakland’s Sean Manaea finished the job in 2018.

“I sensed a lot of frustrated people,” Cora said.

Cora had even allowed himself to think about what looked like an inevitable loss. His family was in attendance for “Family Day” at Fenway and he knew how bad it would be to see them after a no-hitter. But he didn’t let his Red Sox stop believing.

After taking Yacksel Rios out of the game for Josh Taylor in a 3-0 game in the seventh, the manager had a message for his players.

“He said to us, ‘If JT gets out of this inning, we’re winning this game,” Hernandez said.

It took an inning as the Yankees extended their lead, but Cora’s words proved wise again.

“You trust what AC says,” Hernandez said. “A lot of times he sees things before they happen and you just go with it. If he says we’re going to win this game, it’s probably going to happen. They scored one more but we said it many times, we’re not out of a game until a game is over and we proved that today.”

When Hernandez came to the plate in a 4-2 game in the eighth with runners on first and second, Cora had actually told him to bunt. But when he noticed the corner infielders were playing in, the two looked at each other, knowing that wasn’t the move to make. Instead, he roped a double to left to keep the rally going.

“I’m glad it went that way because it worked,” Hernandez said.

Sunday’s win was a microcosm of the season, dating to spring training when expectations from the outside were low. Even when everyone counts them out, the Red Sox continue to bet on themselves.

“We’re trying to win every ballgame and we’re in first place for a reason,” Hernandez said. “We’re a really good team and we’re not going to give up. Even when you beat us, we’re going to make it really hard on you. That’s who we are, that’s our identity. We’re not going to give up. We’re going to come back and we’re just going to grind out games.”