You cannot ride an ATV on public roadway unless it has been designated and posted for ATV use by the local or state authorities. Please check with the local police before riding on any roads to be sure.
Check out these Mayfield, NY ATV/OHV resources: