"This is a winning league," James said. "It's not about how close you came to losing or how close you came to winning. We won. I'm not discrediting what they did; they played a great game. We just made one more play than they did."
James scored on a driving layup with 1:07 left in the extra period to give Miami a 108-106 lead. He missed a shot from the top of the key, giving Orlando a chance to tie, but Shane Battier stole a cross-court pass from Redick and fed Wade for his late slam.
Josh McRoberts cut it to two with two seconds to play, but James sealed it at the line.
The first half was a series of momentum swing by both teams, with Miami breaking off a 10-0 run early and Orlando responding with a 12-0 burst in the second quarter. The Magic finished the half on a 21-8 run to take a 54-48 halftime lead.
The back-and-forth play continued in the second half. Miami scored the first seven points to go ahead 55-54 on an 18-foot jumper by James, but the Magic responded with a 13-2 run, punctuated by a 20-foot jumper from the corner by DeQuan Jones to go back in front 67-57.
The Heat scored the last four points of the third quarter and the first nine of the fourth, eventually taking a 79-77 lead on a vicious slam by James with 9:38 left in regulation. Miami forced three turnovers and three missed shots in the 13-0 run.
Redick stopped the rally with back-to-back 3-pointers, which set up a mad dash for the finish line. A 3-pointer by James gave Miami a 91-89 lead, but the Magic went back in front on a three-point play by Afflalo that made it 94-91 with 2:45 left.
Orlando led 99-95 after Vucevic hit a 15-footer with 1:07 to go, but Bosh tied it with back-to-back baskets. The Heat forward had a chance to win it in regulation, but his runner from eight feet hit the side of the basket, sending the game into overtime.
Notes: James has scored 20 or more points in all 29 of Miami's games this season. . Nelson sat out his second straight game with a hip injury. The Magic are 1-8 when he is out of the lineup. . Miami F Udonis Haslem returned after missing one game with a shoulder injury. Haslem had 2 points and 6 rebounds. . Wade, a 78 percent free throw shooter, missed his first four attempts. Wade was just 3 of 10 from the line for the game.