Yes. In fact, this is standard practice, but it must follow strict guidelines. The IRS may also share information with the Department of Justice, other federal agencies and even certain foreign jurisdictions.