Greg Monroe had 20 points and 12 rebounds and the Detroit Pistons won their season-high third straight game with a 99-92 victory over the New Jersey Nets on Wednesday night.

Jonas Jerebko added 16 points and Tayshaun Prince had 15 as the Pistons snapped a seven-game road losing streak. Ben Gordon, playing for the first time in 11 games, added 14 points for Detroit, which almost blew an 18-point second-half lead.

Deron Williams scored 17 of his 34 points in the fourth quarter to lead the Nets, who have lost four in a row. Jordan Farmar added 22 off the bench and Kris Humphries had a game-high 16 rebounds.

A four-point play by Williams got New Jersey within 78-77, but Jerebko, Rodney Stuckey and Monroe scored to push the lead to eight.

The Nets made one more run as Williams sandwiched a pair of 3-pointers around a fadeaway jumper by Stuckey to narrow the Pistons' lead to 86-83 with 5:18 to play.

After Monroe missed a jumper and Farmar turned the ball over, Brandon Knight hit a 3-pointer to push the lead to 89-83. The Nets could get no closer as Williams missed his next two shots and Farmar misfired on a 3-pointer.

Two free throws by Prince and a monster drive and dunk from the foul line by Monroe ended the contest.

Gordon, who was out with a sore left shoulder, came back and was in form, scoring eight points in a 22-7 spurt that gave the Pistons a 44-31 lead late in the second quarter. The lead was 12 at the half and it grew to 18 points early in the third quarter when Stuckey hit a jumper to cap a 6-0 run to start the second half.

The Pistons lead was still 15 points with 5:35 to go in the third quarter when Williams scored seven straight points in a 14-6 burst to close the gap to seven points. New Jersey kept coming at the start of the fourth quarter.

Notes: Monroe, Knight and Nets rookie MarShon Brooks, who is sidelined with a toe injury, were among 18 players chosen for the Rising Stars Challenge to be held during All-Star weekend in Orlando. ... Knight, who broke his nose in the first quarter against New Orleans and did not return, played with a face shield. ... Nets backup C Johan Petro almost was ejected in the second quarter. He was called for a flagrant 2 on a block on Jerebko, but the officials reviewed the play and changed it to flagrant 1. Humphries and Monroe exchanged blocks on dunk attempts on consecutive plays.