What size stem does it come with? You can always get a shorter or longer stem, but you can't shorten the top tube. at 5'4" I would probably think the 50 is a good fit, and you can probably get a shorter stem. I also just got into road biking after many years of MTB riding and it takes a few rides to get used to the position.
Good luck with your purchase.