The TJX Companies Inc. has entered into a settlement agreement with all but one of the seven banks and bankers associations that sued TJX as a result of a data breach last year.