PHOENIX (AP) -- Gerald Green came off the bench to score 28 points as the Phoenix Suns erased a 19-point deficit to beat the Brooklyn Nets 112-104 on Wednesday night.

Brooklyn Nets' Jarrett Jack (0) drives past Phoenix Suns' Isaiah Thomas (3) during the first half of an NBA basketball game Wednesday, Nov. 12, 2014, in Phoenix. (AP Photo/Ross D. Franklin)

Isaiah Thomas added 17 points off the bench for the Suns. Joe Johnson led the Nets with 21 points.

In addition to his scoring, Green came up with a steal that led to a fast-break layup and three-point play by Goran Dragic for a decisive 106-99 lead.

The Nets led 63-49 at halftime thanks to a brilliant performance by Johnson, who had 13 points, four rebounds and two steals in the half. Early in the second quarter, Johnson scored five in 15 seconds by drilling a 3-pointer, stealing a pass by the Suns' Alex Len and roaring down the floor for a dunk.

Lopez had 16 points at the break as the Nets shot 71 percent from the field.

The Nets put together a 12-0 run to take a 29-13 lead. They led 38-19 early in the second quarter.

(Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)