TORONTO (AP) - Amir Johnson scored 17 points and matched his career high with 16 rebounds, Alan Anderson scored 10 of his 18 points in the fourth quarter and the Toronto Raptors beat the Cleveland Cavaliers 100-96 on Sunday night.

Star guard Kyrie Irving was knocked out by an apparent shoulder injury late in the third quarter as Cleveland lost for the fourth time in five games.

Irving was hurt when he collided with Toronto rookie Jonas Valanciunas on a baseline drive with 2:04 left in the third. He shot the resulting free throws one-handed. Irving made the first but missed the second before walking off and heading to the locker room. He finished with 12 points.

Irving missed 11 games between Nov. 21 and Dec. 8 with a broken finger. He also sat out three games between Feb. 26 and March 1 with a sore right knee.

Toronto has injury problems of its own and won for just the second time in eight games. Forward Rudy Gay was held out with a stiff back, while center Andrea Bargnani was scratched because of a strained right elbow. Rookie Terrence Ross made his first start in place of Gay. Johnson started for Bargnani.

Kyle Lowry had 15 points and nine rebounds, Ross scored 14 points and DeMar DeRozan had 13 points for Toronto, which had lost its previous two meetings with the Cavaliers.

Cleveland rookie Dion Waiters scored 13 of his 21 points in the fourth, Tristan Thompson had 11 points and 10 rebounds and C.J. Miles scored 15.

A 3 by Anderson gave Toronto a 90-82 lead with 5:40 to go but Cleveland scored the next six points, five of them from Waiters, to make it 90-88 with 4:15 remaining.

Waiters tied it at 94-all on a driving layup with 1:42 left, then made one of two from the foul line to put Cleveland up 95-94 at 1:20, giving the Cavs their first lead of the fourth quarter.

Lowry restored Toronto's lead by making two free throws with 52 seconds to go. After a missed shot by Shaun Livingston, Lowry added a turnaround jumper, making it 98-95 with 14 seconds left.

Toronto sent Waiters to the line with 4.7 seconds left. He made the first but missed the second, and DeRozan was fouled as he grabbed the rebound. He sealed it by making both free throws.

Waiters scored seven points in the first and Zeller had six as Cleveland went ahead with a 9-0 run and led 27-20 after one.

Miles made four 3-pointers and scored 13 points in the second, and Irving added nine as the Cavaliers opened a 50-33 with 3:46 left. Toronto closed the half on an 11-4 run, cutting it to 55-46 at the break.

Cleveland called time at 5:59 of the third after a layup by Johnson cut it to 63-60, and Valanciunas tied it on a pair of free throws at 2:48 left. Cleveland regained the lead, but Valanciunas tied it again, converting a three-point play at 1:24. Five more free throws, including one for a technical foul on Marreese Speights, gave the Raptors an 80-74 lead heading into the fourth.

NOTES: Bargnani was injured in the first quarter of Friday's overtime loss at the Los Angeles Lakers. He will have tests Monday. ... Heisman Trophy winner Johnny Manziel attended the game.