A federal judge issued a ban Friday on any future planting of genetically modified sugar beets, potentially imperiling nearly all of the United States crop.