Real life is rarely as simple as discrete causes and effects. The dollar being a reserve currency is the result of both advantaged position America was in at the end of WWII combined with subsequent economic policy. Economic policy alone would not have resulted in the powerhouse America became, and it certainly could have squandered its post-WWII position with bad policy.
The dollar becoming the reserve currency has given America a lot of power, however. It certainly is a factor in the way America is able to run a trade deficit and yet still benefit.
> Economic policy alone would not have resulted in the powerhouse America became
During WW2, the US was the most powerful economy in the world. It fought WW2 in both hemispheres (which required two navies), and supplied all the allies.
Japan was well aware they could never win a sustained war with the US, and hoped that the attack on Pearl Harbor would get them a negotiated settlement. Hitler, in probably the stupidest miscalculation in history, declared war on the US.