The American Federation of Teachers and two other labor unions have sued the Education Department for violating federal privacy laws by granting DOGE access to the agency's data systems.