DETROIT – The Detroit Tigers are heading back to California with the help of Max Scherzer and some fans in right field.

During a relief outing to remember, Scherzer escaped a major jam one inning after two fans reached out to try to reel in Victor Martinez’s disputed home run, and the Tigers rallied past the Oakland Athletics 8-6 on Tuesday to force a decisive fifth game in their AL division series.

Playing catch-up most of the way, the Tigers tied it first with Jhonny Peralta’s three-run homer in the fifth inning and then on Martinez’s solo shot in the seventh. A couple of fans attempted to catch Martinez’s drive and at least one of them bobbled the ball as he reached over the railing above the wall.

That prevented right fielder Josh Reddick from having any chance at a leaping grab. Reddick and center fielder Coco Crisp immediately protested, pointing up at the stands in the hope of a fan-interference call. But umpires upheld the home run after a replay review.

Scherzer, making his first relief appearance since the 2011 postseason, gave up a run in the seventh and got in trouble again in the eighth. With the Tigers ahead 5-4, he allowed a walk and a double to start the inning, but after an intentional walk to load the bases, Manager Jim Leyland left his 21-game winner on the mound.

Scherzer struck out Reddick and Stephen Vogt before getting pinch-hitter Alberto Callaspo to line out to center.

“It was surreal,” Scherzer said. “Maybe it’s not the ninth inning but that’s the stuff you dream about pitching — bases loaded, eighth inning, no outs and I was able to do it.”

Detroit, hitless through the first four innings in a game of twists and turns, added three runs in the eighth on a wild pitch and a two-run double by Omar Infante that made it 8-4.

Yoenis Cespedes hit a two-run single in the ninth, bringing the potential tying run to the plate, but Joaquin Benoit struck out Seth Smith to end it.

After avoiding elimination, the Tigers can now send Justin Verlander to the mound for Game 5 on Thursday night in Oakland.

NOTES

DIAMONDBACKS: Arizona fired pitching coach Charles Nagy and first-base coach Steve Sax.

 

PHILLIES: Linked together in one of the worst trades in franchise history, Larry Bowa and Ryne Sandberg now will be working in the same dugout.

Bowa, a former Phillies manager and shortstop, returned to the team to serve as bench coach under Sandberg.

The two infielders were traded together to the Chicago Cubs in 1981 for shortstop Ivan DeJesus.