A federal judge ruled Monday evening that McCarter & English, which was in a two-year legal battle with a former client, is entitled to $980,451 in attorney fees.