Detectives investigating a firearms discharge on a street in Bradford earlier this month have charged a man.