How much foreign policy experience did Ronald Reagan have when he was elected? As far as I know, maybe some contact with Mexico because of the border.
Yet he was elected at the height of the Cold War. Did a pretty good job of it, too.
Anyone who has good character, firm principles, and the willingness to support America and her allies can conduct foreign policy.
Sometimes lack of foreign policy experience allows people to see things more clearly, without all of the baggage of past entanglements.
I would rather have someone of good character and a lack of foreign policy experience in the White House than an experienced charlatan like Obama (although his experience seems to be mainly insulting allies, bowing to heads of enemy states, and creating havoc in the Middle East.)
Pres. Reagan had a well developed world view by the time he ran. He was enjoying the tutelage of Bill Casey, the true architect of Reagan policy. Did you see the Reagan performance vs Bobby Kennedy in the Oxford debate in 1966,before he had been elected governor? Kennedy flamed his staff for putting him up against Reagan. The Cain Reagan analogy does not work.