You cannot change the bank information once the tax return has been filed.
The bank will reject the deposit since your name is not on the account. The bank will send the refund back to the IRS. The IRS will mail a refund check to the address entered on the tax return.