NEWARK, N.J. -- Back in the lineup after sitting out one game, Raffi Torres and Matt Nieto each scored Sunday afternoon as the Sharks held on for a 4-2 victory over the New Jersey Devils.

Logan Couture opened the scoring for the Sharks and Patrick Marleau closed it while backup goalie Alex Stalock earned his tenth victory of the season, making 21 saves. Adam Henrique and Patrick Elias scored for the Devils.

The game marked the first time the Sharks faced longtime teammate Ryane Clowe since the April 2 trade that sent him to the New York Rangers.

"Can't wait to get out there against all of them and make a few runs at them," said Clowe before proceding to do just that with four hits in the first period alone.

Still looking for the right offensive combinations, coach Todd McLellan inserted Torres and Nieto back into the lineup, sat Adam Burish and Mike Brown, and shuffled other forwards into new slots. .

Nieto replaced Brent Burns on a line with Joe Thornton and Joe Pavelski while Torres ended up alongide Andrew Desjardins and Tyler Kennedy. Tommy Wingels skated with Patrick Marleau and Logan Couture, while Burns, who hasn't scored a goal since Jan. 5, dropped to a line with Marty Havlat and James Sheppard.

Neither team could score in a briskly paced first period, though there were ample chances at both ends. Stalock's biggest save came after the puck rolled into an otherwise empty Sharks zone and the goalie thought about going out to play it, hesitated and then had to sprawl on the ice to frustrate Devils center Dainius Zubrus.

Both teams found their offense in a four-goal second period.

The Sharks got on the board first when Jason Demers shot the puck from the blue line, Patrick Marleau redirected it on goal and Couture popped in the rebound at 3:26, but New Jersey came back to tie it 77 seconds later when another former Shark, Steve Bernier, sent a cross-crease pass to Henrique and he had an empty net to shoot it into.

The Devils took a 2-1 lead at 14:22 when Stalock made a big save on Henrique's wraparound attempt, but couldn't stop Elias's defelction of the John Merrill shot that followed. But 92 seconds after that, it was 2-2 when Joe Pavelski and Torres finished off a perfect give-and-go with Joe Pavelski on an odd-man rush.

The game-winner came at 6:20 of the third period and again it was a pass from Pavelski — this time to Nieto — that set it up the one-timer that beat Devils goalie Cory Schneider. Marleau's unassisted goal at 17:35 iced it for San Jose.

The win gave the Sharks four points of a possible on the three-game road trip.