1) Withdraw the whole $5M.
2) Put it in a money market account in another bank that pays (say 3% interest). That's $12,500 per month.
3) When the bank notices their mistake and asks for the money back, give them back the $5M. Tell them you were only keeping it safe for them until they identified their error.
4) Keep the interest!!!