TORONTO - DeMar DeRozan scored 20 points, Amir Johnson had 14 of his 15 points in the fourth quarter and the Toronto Raptors beat the slumping Orlando Magic 97-86 on Sunday.
Andrea Bargnani had 17 points, Linas Kleiza scored 10 of his 12 points in the fourth and Jose Calderon had a season-high 18 assists for the Raptors, who had lost six of their previous seven home meetings with Orlando.
Glen Davis led the Magic with 16 points and 12 rebounds, E'Twuan Moore scored 16 points and Arron Afflalo had 15.
Nikola Vucevic had 12 points and six rebounds, ending his streak of three straight double-doubles.
Orlando snapped a five-game losing streak and picked up its first road victory of the season by beating Detroit on Friday, but failed to collect back-to-back wins for the first time since beating Denver and Phoenix in the first two games of the season.
J.J. Redick, who led the Magic with a season-high 23 points Friday, did not play because of an illness. DeQuan Jones took his place in the starting lineup.
After being outscored 28-18 in the third quarter, surrendering an eight-point lead in the process, the Raptors rebounded in the fourth, with back-to-back 3-pointers by Kleiza and Johnson turning a one-point deficit into a 79-74 lead with 6:55 left to play.
Toronto pulled away from there, with Johnson scoring a turnaround hook shot and draining a pair of free throws, Bargnani hitting consecutive jumpers and Calderon finding DeRozan for a powerful alley-oop dunk with 4:00 remaining that gave the Raptors an 89-78 lead.
DeRozan scored 11 points in the first and the Raptors used a 10-2 run and four 3-pointers to open a 32-22 lead after one quarter.
The Magic got eight points and five rebounds from Davis in the second, but Orlando trailed 49-41 at the half.
Afflalo scored four points as Orlando opened the third with an 8-2 run, cutting it to 51-49. A driving layup by Nelson with 1:13 left gave the Magic a 67-66 lead, their first since scoring the game's opening basket. Nelson scored six points in the third, all of them in the final 1:49, as the Magic took a 69-67 lead into the fourth.
NOTES: The Raptors announced that former C Jamaal Magloire has accepted a role as development consultant and community ambassador. The Toronto-born Magloire was cut during training camp, ending his 12-year NBA career. ... Toronto begins a three-game road trip at Philadelphia on Tuesday. The Raptors are 1-4 away from home this season. ... Calderon had 17 assists in a triple-overtime loss to Utah on Nov. 12. ... Buffalo Bills players Jairus Byrd and Kyle Williams attended the game.