NEW YORK (AP) — A New York man who threatened in a social media post to “shoot up a synagogue” has been sentenced to 10 years in prison for possessing a firearm as part of a planned terror attack.