Ziaire Williams had 11 of his 25 in the fourth quarter, when the Nets outscored the Cavaliers 38-23 in a spirited rally.