Alan Trammell tied the score with a two-out home run in the ninth inning, his second of the game, and Larry Herndon bounced a single to right field to score Lance Parrish in the 10th inning to give host Detroit the victory over New York.

Trammell, who hit a three-run homer in the third inning, tied the score after Dale Murray, the third New York pitcher, walked pinch hitter John Wockenfuss to start the ninth and then got Lou Whitaker to hit into a double play.

"I didn't think I hit the second one that well, but I'm glad it got over the fence, and I'm glad that I got a chance to redeem myself," said Trammell, who had a throwing error earlier in the game. "I wanted to get on base, but I was really happy to see the ball get past Dave Winfield and go over the fence."

Lance Parrish led off the Tigers' 10th with a double to right off Murray (2-3) and continued to third on Don Mattingly's throwing error. Herndon followed with his game-winning single.

Doug Bair (4-3) worked 1 1/3 innings of hitless relief to earn the victory.

With the score tied, 5-5, in the eighth, Willie Randolph reached second base on shortstop Trammell's one-out throwing error. After a walk to Graig Nettles, Dave Winfield, who hit two home runs earlier, doubled off starter Dan Petry to give the Yankees a 6-5 lead.

New York took a 1-0 lead in the first inning on Winfield's 24th home run but the Tigers went up, 3-1, in the third on a walk to Rick Leach, a single by Whitaker and Trammell's eighth home run of the season.

The Yankees rallied for three runs in the sixth on a double by Andre Robertson, an RBI single by Graig Nettles and Winfield's second homer of the game. Detroit's Kirk Gibson hit his 10th home run, a 430-footer into the upper right field stands, in the bottom of the inning.