The information you are looking for can be found on the webpages that are listed on this page
What do I bring to the DMV centre if the vehicle I purchased was sold within New York City?
If the vehicle you purchased was bought at a sheriff or marshal auction within New York City, you must produce a copy of the judgement or execution order that allowed the sheriff or marshal to sell the vehicle in question