It would probably work if you could get it to fit and the pins are in the same order as the one already there.
Another choice would be to use an external regulated 5V supply and connect it directly to the 5V pin. Most modern cellphone chargers have a mini- or micro-USB connector and would supply regulated 5V.