New York shares land borders with six states and a water border with two more (Rhode Island across Long Island Sound, Ontario/Quebec across Great Lakes/St. Lawrence). Here's the breakdown by cardinal direction:
North: Vermont (Lake Champlain forms much of boundary), Massachusetts, Connecticut (small northern jog at "The Oblong")
East: Connecticut (long eastern border), Massachusetts (short eastern segment)
West: Pennsylvania (longest border: ~330 miles / 530 km)
South: New Jersey (Hudson River, New York Bay, land border on Staten Island), Pennsylvania (Delaware River boundary)
To PA: I-81, I-86/I-90, I-84, US-15, US-219, NY-17
To NJ: GW Bridge, Lincoln Tunnel, Holland Tunnel, Tappan Zee (Mario Cuomo Bridge), Goethals, Outerbridge, Bayonne Bridge
To CT: I-95, I-84, US-1, US-6, US-7, Merritt Parkway (CT-15)
To MA: I-90 (Mass Pike), US-20, US-7
To VT: US-2, US-4, US-7, NY-22
To Canada: Peace Bridge (Buffalo), Lewiston-Queenston, Rainbow Bridge (Niagara Falls), Thousand Islands Bridge, Ogdensburg-Prescott, Massena-Cornwall, Rouses Point-Lacolle