State authorities say they have returned 50,000 improperly deregulated apartments in New York City to rent regulation while restoring more than $2.25 million in overcharged rent to tenants in the last four years.