A Michigan man is accused of posting threats on social media to kill Immigration and Customs Enforcement agents, federal court documents show.