The far-right commentator with extreme views about Islam has been chosen to serve as deputy assistant to the president and senior director for counterterrorism.