A dramatic shift in America’s trade policy has left economists warning of rising costs and the risk of a recession.