A federal judge has stopped restrictions that prevented SNAP recipients in five states, including Iowa, from buying sugary items like soda, gum and candy.