How long can you live with someone in New York state before you are considered married?

You aren't considered married in New York unless you get married. Living together with someone in New York doesn't create a legal marriage.