Officials have recovered several guns and are working to determine if one of them was used to kill Nguyen.
The shooting caused several area schools to go into lockdown as more than 100 police, deputies, and federal agents searched for the gunman.
Nguyen married in April, which was about the same time that he became a detective with the gang suppression unit. He was a seven-year veteran of the department.
"It's one of those unfortunate things that could happen to anybody," Captain Trang To told the Sacramento Bee. "Unfortunately, it happened to a great human being," added To, who commanded Nguyen when he was on patrol. "It's a great loss to Vu's family, a great loss to the department, and a great loss to the community as a whole."