Unfortunately, under the tax reforms of 2017, moving expenses are not deductible except for military personnel moving under orders. If you own a home in New York, are selling for a gain, and have not met the 2 year requirement for excluding gain from income, you may be qualified for a partial exclusion based upon the move. But personal moving expenses are not deductible, regardless of the reason for the move.
Nick K, EA