I agree that you are cutting it very close.
We took in a Sunday matinee the last time we visited NYC. The play began at 3:00 and we got out at about 5:30.
You have to also take into consideration that your cruise leaves on a weekday. Therefore, also take into consideration traffic and lots and lots of people; many of them will just be concluding their workday.