A Fresno police sergeant was shot and wounded in an ambush before officers killed the suspect, who may be linked to a nearby homicide.