Democratic Elections commissioner Dustin Czarny says call the Board of Elections (315) 435-VOTE. They will decide if you need an affidavit or court order to cast your ballot (It’s probable you’ll have to go to the Board and talk to a judge. Both judges and lawyers will be on duty at the Board of Elections, for the whole time polling places are open.
https://cnycentral.com/news/neighborhood/your-voting-questions-answered