Alex, you're not stuck with the location of that gas range. Just because a moron installed it in the wrong place doesn't mean you're stuck with it.

The gas range can be moved -- you simply need a longer hose for the gas input. Pick up your countertop, slide the existing cabinets down into the space where the range used to be, and plop the range on the other end of the cabinets so's you can open the door.

While it's out, strip that fucker down and clean it. A range ought to be thoroughly cleaned every six months. In your photos there's grease and whatnot dripping down into the nether reaches of the gap between the range and the cabinets. Clean it up!

This would be a good opportunity to clean up all the accumulated gunk and schmutz piled up behind your range and cabinets. And to spray down pesticides to kill the insects undoubtedly living there. Pull that shit out, murder the bugs and sweep their little corpses up a day later.

You'll need new gas hose clamps on both ends of your new, longer gas hose. Don't try to re-use the old, rotten and corroded ones.

Now, New York is wildly overregulated. You probably need five or six permits, a government overseer, and four union goons to help you do all this.

At the end of the day, though, you'll have an oven you can actually use, and a little encouragement to live like an actual human being. Step into the light, Alex!