The National Association of Realtors agreed to pay damages and remove fees as part of a settlement of a lawsuit.