Manufacturers will have at least two years to phase the carcinogenic additive Red Dye No. 3 out of their products.