The gunman in the deadly Trabuco Canyon shooting was a retired Ventura police sergeant who targeted his wife first and then randomly shot other patrons at Cook’s Corner, officials say.