Boston’s Christian Arroyo hits a two-run double Thursday against the Texas Rangers. The Red Sox rallied for a 9-8 win. Steven Senne/Associated Press

BOSTON — Rob Refsnyder hit a game-ending single in a four-run ninth inning for Boston as the Red Sox rallied to beat the Texas Rangers 9-8 on Wednesday night.

The Red Sox trailed 8-3 in the eighth and 8-5 entering the ninth. Boston promptly loaded the bases with none out against Jonathan Hernández (1-1). Rafael Devers hit a two-run double and Kiké Hernández hit an RBI single to tie the game before Refsnyder completed the comeback with a drive to left.

Refsnyder took a wide turn around first before a swarm of teammates caught him and piled on after storming out of the dugout.

Jeurys Familia (2-1) worked a scoreless ninth for a Boston staff that was constantly in trouble. The Rangers stranded 12 runners as they dropped their fifth straight.

Adolis Garcia hit a two-run homer in the eighth to help put Texas in position to stop its skid.

In the bottom half, Devers began Boston’s comeback with an RBI double. He scored on a single by Christian Arroyo, who also drove in three runs.

Advertisement

Rookie Rangers starter Glenn Otto struck out a career-best eight batters and departed after Alex Verdugo homered leading off the sixth to get the Red Sox within 4-3.

Veteran Rich Hill started for Boston and allowed four runs on five hits and four walks.

Garcia drove in three runs for the Rangers. Corey Seager had an RBI single in the third and a run-scoring double in the fifth.

NEW KID?

A boy stationed in the front row in center field, prepared with a glove and clad in a No. 9 Red Sox jersey, caught Verdugo’s homer in the sixth. The boy leapt several times in celebration and high-fived fans in all directions. The play was reviewed for potential fan interference, but umpires quickly confirmed the home run.

TRAINER’S ROOM

Rangers: Transferred right-hander Josh Sborz (right elbow sprain) from the 15-day injured list to the 60-day IL, ending his season. … Recalled outfielder Nick Solak from Triple-A Round Rock and added right-hander Jesús Tinoco from Round Rock to the expanded roster.

Red Sox: Right-hander Nathan Eovaldi (right shoulder inflammation) has resumed throwing, but Manager Alex Cora wasn’t ready to offer a potential return date. Cora said the club was going to continue to be cautious with Eovaldi, who missed 33 games earlier in the season because of inflammation in his lower back. … Recalled catcher Connor Wong from Triple-A Worcester and added right-hander Eduard Bazardo to the expanded roster.