Owners of a rat-infested Newark apartment complex have agreed to conduct a major renovation under terms of a class action settlement that was signed Tuesday by a judge in Essex County Superior Court.