The Ontario Superior Court of Justice approved a class-action settlement with TD Asset Management Inc. for $8.5 million.