My iPhone 5 just broke, can I buy an iPhone 4 on Amazon and just put my sim card in it?

My iPhone 5 just broke, can I buy an iPhone 4 on Amazon and just put my sim card in it?

Added (1). I read that iphone 4 uses a micro sim card and that iphone 5 uses a nano sim card
and that a micro sim card could not go into the iphone 5, but vice versa could occur
is this true?

The iPhone 4 would need to be unlocked (or locked to the carrier you are with now)
You'd need to get a microSIM adapter or get a new microSIM since the 5 takes nanoSIMs (smaller)