TORONTO (AP) -- Rudy Gay hit a pull-up jump shot with less than five seconds remaining and the Toronto Raptors beat the short-handed Denver Nuggets 109-108 on Tuesday.
DeMar DeRozan scored 22 points, Gay had 17 and John Lucas scored 12 of his 14 points in the final quarter as the Raptors won their third straight.
It was the second game-winner in three games for Gay, who beat Indiana with an overtime jumper last Friday.
Kyle Lowry had 11 points and 10 assists and Alan Anderson had 10 for Toronto, which made seven 3-pointers in the fourth quarter.
Ty Lawson led Denver with 29 points, Kenneth Faried had 15 points and 11 rebounds and Anthony Randolph scored 16.
Andre Miller scored 12 points for the Nuggets, who came in having won nine of their past 10 overall and 15 of their past 17 meetings with Toronto.