The city of New York on Tuesday sued a pair of Brooklyn landlords accused of harassing and evicting tenants amid the coronavirus pandemic in violation of a series of laws, according to court documents.