In some ways, I'm glad I don't live in New York anymore. I would be breaking the law every time I got on a bicycle. NY is one of those states that *require* cyclists to ride on the road edge.
Sorry, NY, your law is wrong. Cyclists should have explicit permission, and be expected, to use the entire driving lane by default. PA has the right idea, explicitly giving motorists the right to cross a yellow center line to pass a bike, if visibly safe to -- same as crossing a center line to drive around a fallen tree. If you can see to pass safely, go ahead and pass. If you can't, you wait until you can.
But NY expects cyclists in the lead to yield to motor traffic behind them. That's just wrong. And generations of motorists and cyclists alike passively accept this. I do not. I'm in front, you're behind me, I don't care if there's a 40 mph difference in our travel speeds. The fallen tree sure doesn't care.
Cyclists *may* release following traffic to pass them with a "straddle pass", by moving to road edge and allowing cars to pass more easily by moving partway into the opposing lane. That technique is called "control and release", and is very effective for maintaining a balance of traffic flow AND cyclist safety. But still, the cyclist gets to decide, not the motorist. The cyclist can see whether the road edge is safe; the motorist cannot. It is neither fair nor safe to require cyclists to ride unsafely, such as between a road-edge hazard and a car passing too closely.
I don't know how you get state law changed. But if I end up in NY for any length of time, you can darned well bet I will be advocating for the law to change, and riding the way I feel most safe.