In that case you would have to pass a written test, complete a 5-hour pre-licensing course and pass a road test.
Is that what all residents of NY have to go through?
Are you planning to become a New York State resident?
No, I'm just going to visit NY and wanted to use a rental car.