With Tuesday’s stunning upset of Rep. Joe Crowley by a young socialist insurgent, New York may be headed for truly radical left-wing territory.

Not so much because of any actions in Congress by 28-year-old Alexandria Ocasio-Cortez, should she win the November election, as expected. But because of how officials like Gov. Andrew Cuomo are reacting.

The gov may argue that her race is “apples and oranges” compared to his own primary, but you can be sure he’s sitting up and taking notice. As is Cynthia Nixon, who actively supported Ocasio-Cortez and plans to use every opportunity to link their campaigns in the public eye.

Cuomo may be right that the primary, which toppled the veteran Queens Democratic leader in a heavily minority district, was decided mostly on issues of age, gender and “the fear and the anger that is in the minority community.”

But it also may be a sign the Democratic Party in New York is moving hard left.

And Crowley, who just weeks ago was being talked about as a potential House speaker, wasn’t the only big loser. So were the pollsters and pundits, none of whom apparently saw this coming. Just as they forecast the Staten Island GOP primary to be neck-and-neck, only to see it end in a blowout win for Rep. Dan Donovan.

As for the governor, he insists he won’t be changing anything about his campaign tactics, which have already seen him lurching leftward. Yet on Wednesday, he responded to the Supreme Court’s Janus decision with an executive order to keep public workers’ personal information private, something the Freedom of Information Law already does.

Clearly, he was sending a message.

Coumo won’t take any chances that Dems are moving left — and he must, too. Question is, how much further left can he go?