You would need to have your vehicle inspected in New York.
What if I will be out of state when my sticker expires?
You can apply for an extension. Be sure to first determine whether or not an expired out of state inspection is a violation of the law in that state.
What do I do when I get my extension sticker?