The sheriff’s surprise announcement came days after President-elect Donald Trump picked him to lead the federal agency.