To an extant, but not a major driver across the board. What has caused the export of the mostly commodity manufacturing has been primarily the costs of domestic production, as well as our long burdensome regulatory environment, tort liability and risk environment, and to some extent the whipsaw effects of differing administrations' economic policies every 4 or 8 years. US labor is very expensive, especially in the States with the strong economies, and some industries have been stagnated if not all but driven out of the US by environmental regulations over the past 25 years or so
We cannot afford to produce many consumer and other low priced goods domestically, just cannot. No amount of tariffs (or tax increases mostly on the individual consumer, that is what tariffs really are) will completely reverse that. The numbers do not work, 3-5x for an iPhone for example. We can and do still make key goods, defense, etc. and, more important than just manufacturing, we innovate.
Tariffs are a useful trade tool but used as a scalpel, not a cudgel.
I've had executive positions in several global companies, large and small, and 'made my bones' back in the day leading early offshoring and outsourcing efforts....didn't personally enjoy it, but it was necessary and the right thing to do benefiting the Companies and our US (and global) workers through increased profitability.
Let's all read up on Smoot-Hawley again.