The Nets will also receive a 2019 second-round pick that originally belonged to the Knicks, sources told ESPN's Adrian Wojnarowski.
The deal will end something of a standoff between the 76ers and Okafor, as detailed by Wojnarowski.
Philadelphia has excised Okafor from its rotation after declining their team option on him for next season, and Okafor's representatives have asked for a trade or a buyout.
Okafor was the third overall pick in the 2015 NBA draft and made the first-team All-NBA Rookie team, but that's disappeared into the distance as he has played only two games this season. The Sixers are undergoing a franchise renaissance, armed with young superstars Joel Embiid and Ben Simmons. Okafor, meanwhile, has been cast aside, a casualty of a process that has moved on without him.
"I would like for them to just send me somewhere where I can get an opportunity," Okafor told ESPN in November. "I've done everything they've asked of me, and I would just like to get an opportunity to play with a trade or a buyout. I just hope something happens quickly.
"I know it's business, but in my eyes, I don't know if it's good business."
Booker, a seven-year veteran out of Clemson, is averaging 10.1 points and 6.6 rebounds in 18 games. He tweeted his thanks to Brooklyn and its fans Thursday before the deal was announced.
It's been real Brooklyn. Will always have nothing but love for you. Loved my time in New York!!!
— Trevor Booker (@35_Fitz) December 7, 2017
Stauskas, who joined the Sixers in 2015 in a trade from Sacramento, is averaging less than 1 point per game. He has played in only six of Philadelphia's 23 games this season.
The Sixers were set to play the Los Angeles Lakers and the Nets are in Mexico for a game against Oklahoma City.
Information from The Associated Press was used in this report.NetsacquirecenterOkafortradewith76ers