That set the stage for DeRozan's final shot.
"Usually we run it to my right," DeRozan said of the final play. "But that is the first time we ran it going to my left. I knew if I got a good shot off I had a chance of it going in."
DeRozan scored 14 of his game-high 22 points in the fourth quarter.
"Down the stretch, everybody's questioned our toughness and how tough we are," Raptors coach Dwane Casey said. "I've seen resolve and toughness the last couple weeks. And for anybody who doesn't feel like we're in this to win, they are totally wrong."
The Raptors (16-27) celebrated their win with hugs all around.
The Magic (14-28) walked off the court as their fans fell silent.
Six Magic players scored in double figures, but the team couldn't overcome its defensive shortcomings.
Or DeRozan's final shot.
"I didn't know how he got it off," Redick said.
With the loss, the Magic fell to 3-14 in games decided by six points or less.
As Redick spoke to reporters in the Magic's nearly empty locker room, Davis chimed in and told him not to worry, that things were about to turn around soon.
It's difficult to envision things getting much worse than this.
"Soon those games are going to come back to us," Davis said later. "I don't know when and where, but it's going to come before the season's over."