The Nets snapped their five-game losing streak on Wednesday night.
A 31-19 advantage for the Nets in the third quarter turned around a game that the Raptors led for most of the early stages. Joe Johnson hit four three-pointers on his way to a team-high 23 points.
The Nets made 10 three-pointers in the game, while Toronto was 4-for-18 from beyond the arc.
With Andrea Bargnani and Kyle Lowry out, the Raptors were severely shorthanded and went only eight players deep in the game. Toronto, which lost for the 12th time in 13 games, did get a strong performance from Ed Davis, who finished with a game-high 24 points and 12 rebounds.
Brooklyn will play another Eastern Conference bottom-dweller on Friday when it takes on the Detroit Pistons at the Barclays Center.