Tenants of one of Brooklyn’s biggest landlords are set to receive $2.9 million in restitution after an investigation found “repeated and egregious” violations of housing maintenance codes, including issues with lead paint, mold and pest infestations. On Friday, New York Attorney General Letitia James announced a $6.5 million settlement with Lilmor Management, LLC, and…