After being humiliated by the Kansas City Royals a day earlier, the Detroit Tigers were focused on redemption Sunday.

It came via one of the lesser-known members of the roster.

Journeyman Brandon Dixon, only in the majors due to a series of injuries, hit a three-run homer in the 10th inning to lift the Tigers over the Royals 5-2.

The victory came less than 24 hours after the Tigers allowed 15 runs on 19 hits and 10 walks in a 15-3 loss.

Nicholas Castellanos started the 10th with an infield single off Ian Kennedy (0-1), and after Miguel Cabrera popped out, Niko Goodrum reached on another infield hit.

Ronny Rodriguez struck out, but Dixon hit a 1-2 curveball over the fence in right-center field.

Kennedy wanted the ball in the dirt.

Buck Farmer (2-2) got the win after retiring the last batter in the top of the 10th.

The Tigers led 2-1 going into the eighth and Joe Jimenez struck out the first two Royals, but Hunter Dozier hit his eighth homer over the right field wall to tie it.

Neither starter got a decision. Detroit’s Spencer Turnbull gave up one run in seven innings on six hits and a walk. He struck out seven.

Brad Keller allowed two runs, six hits and five walks in 5 1/3 innings.

The Royals started the second inning with three straight hits, with Kelvin Gutierrez driving home Jorge Soler for a 1-0 lead. Turnbull escaped the inning without further damage.

JaCoby Jones led off the third with a double, Jeimer Candelario walked and Castellanos tied it with a single off Gutierrez’s glove at third. The Tigers still had runners on second and third with none out, but Keller struck out Cabrera and Goodrum before retiring Rodriguez to get out of the inning.

Cabrera made it 2-1 with an RBI single in the fifth, and the Tigers loaded the bases with one out in the sixth. Scott Barlow replaced Keller and struck out Jones and Candelario.