The selection is in keeping with Trump’s view that the government’s law enforcement and intelligence agencies require a radical transformation and his stated desire for retribution against supposed adversaries.