The man was a passenger in an SUV when at least 10 shots were fired, the Sacramento County Sheriff’s Office said.