Long Island man allegedly pointed gun at head of 6-year-old over Halloween candy