A man accused of shooting his ex-girlfriend Thursday had an outstanding warrant for his arrest charging him with an assault on the same woman in 2023, prosecutors said.