A judge has sentenced a Wisconsin man who forged threats against President Donald Trump as part of a deportation scheme to 16½ years in prison.