The federal government has charged two Michigan men after they allegedly conspired to commit an act of terrorism over Halloween weekend, according to a criminal complaint unsealed Monday.