A swimmer was bitten in a suspected shark attack at a New York beach, prompting authorities to temporarily suspend swimming.