For New Yorker Action Bronson, the phrase “break a leg” doesn’t relate to good luck.

In 2011, he was working as a cook at his dad’s restaurant in Queens when he slipped on a wet floor, causing a leg break that brought his career to a halt.

“It was a trying time,” Bronson (né Ariyan Arslani) tells The Post. “I wasn’t sure what I was gonna do.”

Luckily, he was already working on a backup plan: rapping. Just a couple of months later, Bronson released his debut album, “Dr. Lecter,” which combined fierce, ’90s-style delivery with lyrics about food. He hoped to earn enough money to go to culinary school in Tuscany.

But when the album caught fire in underground rap circles, Bronson decided to concentrate on cooking up rhymes and beats instead.

It may have seemed like a long shot for a heavyset, half-Muslim-Albanian, half-Jewish guy to make it as a hip-hop star, but it’s a gamble that paid off.

Bronson released his third album (and major-label debut), “Mr. Wonderful,” a month ago and cracked the Top 10 of the Billboard 200 album chart.

On it, he worked with star producers like Mark Ronson -— who helped come up the soulful single “Baby Blue,” which has become Bronson’s biggest hit, notching over 5 million plays on Spotify.

Not bad for a guy who was, just a few years ago, preparing meals for the Mets.

That job abruptly ended one day, though, when Bronson threw a fellow chef across a table for repeatedly bumping into him.

“I get angry real quick, but I also cool down just as fast,” he admits. “Albanians don’t want to deal with anything in the moment. They’d rather get angry and stab somebody, and think about it afterwards!”

These days, Bronson still makes time to hit the kitchen. The Bayside High alum’s web series, “F – – k, That’s Delicious,” features him cooking with star chefs such as Mario Batali and Michael White, and is set to hit TV screens later in the year on an as-yet-unrevealed network.

“I have to do a lot more running around now because of my music, but I wouldn’t leave the show in anyone else’s hands,” says Bronson. “That’s still my baby.”