New York Attorney General Letitia James on Wednesday announced she has reached a settlement with a large New York City-based landlord that her office investigated for wrongfully obtaining housing-court records for more than two dozen potential tenants over several months, then denying housing to seven of them.