Robert F. Kennedy Jr.'s nomination to serve as secretary of Health and Human Services was officially confirmed in the Senate on Thursday.