The city agency plans to convert a majority of the four-property portfolio’s 381 units into affordable housing.