SALT LAKE CITY -- Utah Jazz fans got plenty of chances to cheer and jeer Saturday night.
Former Jazz star Deron Williams took the brunt of the booing.
Current Jazz sharpshooter Randy Foye received the bulk of the cheering.
Foye hit three straight 3-pointers during a key second-half stretch and finished with 26 points to lead the Jazz to a 116-107 victory over the Brooklyn Nets at EnergySolutions Arena.
Foye ended up equaling a career high by making 8 of 9 3-pointers and gave Utah the lead for good with his 9-0 scoring spurt midway through the third quarter.
"Randy Foye just torched us and had it going," Nets coach P.J. Carlesimo said. "A couple of times we didn't get to him quick enough and we didn't pressure him quite quick enough. He made some great shots."
Jazz center Al Jefferson and guard Mo Williams each scored 20 points to help overshadow a solid performance by Deron Williams.
The victory was the Jazz's fourth in a row -- and second in as many nights -- as surging Utah improved to 38-36 and maintained its hold on the No. 8 position in the Western Conference playoff race.
"To come back after the win last night in Portland, traveling back ... to understand where we are this time of year and all that's involved in that, to come out with the focus that these guys had at the beginning of the game, it's pleasing to see," Jazz coach Tyrone Corbin said.
Brook Lopez led the Nets with 27 points and seven rebounds. C.J. Watson scored 20, but Brooklyn (42-31) fell for a second consecutive night in the Rocky Mountains after losing to Denver 109-87 on Friday.
Deron Williams was loudly booed by a portion of the 18,008 in attendance every time he touched the ball, but he had 21 points and 11 assists in his second outing back in Utah since being traded to the Nets in 2011.
Though Williams was a two-time All-Star while in Utah -- and led the team to the 2007 Western Conference Finals -- some Jazz fans continue to blame him for playing a part in Hall of Fame coach Jerry Sloan's sudden resignation in the 2010-11 season. He was traded less than two weeks after that midseason shocker happened.
Williams fell to 0-4 against the Jazz since being traded on Feb. 23, 2011, in exchange for Devin Harris, Derrick Favors, two first-round picks and $3 million.
"It wasn't as bad as last year. It's getting better," Williams said of the boos. "Maybe next year I'll get some boos, maybe a couple of cheers. It's good. No animosity. I had a great time in Utah. I don't have anything bad to say about the fans. ... I've just got a lot of love for them."
On Saturday, the Nets point guard gave his team a 65-64 lead with a layup just after the Jazz honored former center Mehmet Okur with a video tribute early in the third quarter.
Foye took over from there.
The starting shooting guard hit three of his five third-quarter 3-pointers -- tying a team record -- to give Utah a 74-65 lead with 4:45 remaining in the third quarter.
"I was just trying to be aggressive," Foye said. "I have to give my teammates a lot of the credit. They found me when I was open."
Foye made two more 3s in the fourth quarter to tie former Jazz guard and current assistant coach Jeff Hornacek with eight treys. Hornacek hit eight 3-pointers in a game against Seattle on Nov. 23, 1994.
"He has been a treat all year for us," Corbin said of Foye, who signed a one-year deal with Utah last offseason and since became the team's season 3-point leader. "He is just a pleasure to be around. First of all, he is a great guy, but the way that he works every day to continue to get better and to see him have a game like tonight is really rewarding because he deserves everything that he is getting."
Favors finished with 13 points, nine rebounds and three steals against his former team and Marvin Williams added 14 points and six rebounds off the bench.
Paul Millsap contributed nine points and a career-high nine assists, and Gordon Hayward had eight points, six assists, three blocked shots and three steals.
The teams shot the lights out.
Utah hit 11 of its first 13 shots from the field and ended up shooting 55.6 percent despite playing Friday night in Portland, a 105-95 win. Brooklyn shot 51.9 percent but allowed Utah to score 31 or more in three quarters.
"Our defense wasn't good enough. I think their offense had a lot to do with it," Carlesimo said. "Fatigue has a little bit to do with it. Joe (Johnson) not being here has a little bit to do with it."
The Nets wrap up their 17-day Circus Trip on Tuesday in Cleveland. New Jersey's next home game is the following night against Chicago. The Nets haven't played at the Barclays Center since March 17.
NOTES: Foye's 3-pointer in the first quarter set a Jazz team franchise record for 3-pointers in a season (439, 2009-10). Utah now has (449) 3-pointers. Foye set the individual franchise record for 3-pointers in a season earlier this year. ... Jazz backup center Enes Kanter remains sidelined after dislocating his left shoulder Wednesday. His left arm is in a sling. "It hurts," he said. Kanter rode a stationary bicycle before Saturday's game and said, "I'm just trying to keep myself in shape for summer." Asked if that means he's out for the season, Kanter said he isn't sure yet. "We're still waiting and see how my shoulder feels. If it heals quickly, I hope so (to return)." ... Guard Joe Johnson (right quad contusion) missed his fourth game in a row. Keith Bogans started in his place for the Nets.