The suspect was wanted in the shooting Sunday of a police officer.
Sgt. Tim Schmidt says the gunfight took place early Monday. Officers tried to pull him over as he headed east on the Riverside Freeway.
Schmidt described the scene to the Orange County Register: "He gets out and takes cover behind a second vehicle. He doesn't try to run. At that point we have officers and the suspect engaging in a gunbattle."
The man struck other vehicles in Anaheim, then got out of his car, armed with a handgun. He exchanged gunfire with at least two officers and died at the scene.
Schmidt said the man was declared dead at the scene, reports CBS station KCBS-TV.
Schmidt said it was not clear who shot the motorist. She was taken to a hospital with superficial wounds.
Sunday morning, an officer investigating a report of a man exposing himself was shot in the leg.
The officer was not badly hurt, said police Sgt. Rick Martinez.
Two officers had arrived at the motel near Disneyland shortly before 8 a.m. after complaints that a man in one of the rooms was exposing himself to children and adults.
"They made contact with a guy believed to be the individual," Martinez said. "He was in the parking lot getting in a small compact-type vehicle."
Martinez said shots rang out as the man, in his 40s, drove off.