If you want to leave the Bay Area because of the cost of living, the NYC area may not be the answer. The price of a home ($/sqfoot) may be cheaper in the suburbs of NYC than SF/SV, but property taxes are extremely high (e.g. > 2%) in areas that are commutable (unless you think 2+ hours each way is a good commute) to NYC. You may also end up in a situation where you need a car to commute to the train station, you pay for parking at the train station, and then you have one or more passes (e.g. Subway + Train Pass) to get to your job. So your total monthly living costs may be close to your costs of owning a home in the bay area.
If you want to leave the Bay Area because of the cost of living, the NYC area may not be the answer. The price of a home ($/sqfoot) may be cheaper in the suburbs of NYC than SF/SV, but property taxes are extremely high (e.g. > 2%) in areas that are commutable (unless you think 2+ hours each way is a good commute) to NYC. You may also end up in a situation where you need a car to commute to the train station, you pay for parking at the train station, and then you have one or more passes (e.g. Subway + Train Pass) to get to your job. So your total monthly living costs may be close to your costs of owning a home in the bay area.