The New Jersey-based TD Bank is Massachusetts’ fourth-largest bank, with more than $22 billion in deposits.