Hughes, a center, missed 17 games because of a dislocated shoulder and signed an eight-year, $64 million contract earlier in the day. He had one shot on goal in 17:31 of ice time.
"I would have liked to play a little bit more to help my team win," Hughes said. "I got to produce and put the puck on net more. There are things I've got to sharpen up, but not much rust. I felt pretty good out there.
"Aside from the game, I'm really fortunate to be here for eight more years at least, and really thankful to (Devils co-managing partners) David Blitzer and Josh Harris, the ownership group and (general manager) Tom Fitzgerald. It's a really exciting day for my family and myself."
Timo Meier scored twice, and Noah Gregor had a goal and an assist for the Sharks (12-9-1), who have won two straight to begin a five-game road trip. James Reimer made 32 saves.
"It was a good game for us," Sharks coach Bob Boughner said. "I thought that we got some contributions throughout the lineup, which was nice, and some big goals, timely goals."