The U.S. Food and Drug Administration has banned the use of red dye No. 3 in food, beverages and injected drugs, nearly 35 years after it was barred from cosmetics because of potential cancer risks.