A man has been charged with a terror offence over a Hallowe’en display featuring effigies of local politicians in body bags.