American companies that import products are paying record amounts in customs duties as more tariffs imposed by the Trump administration take effect.

Tariff collections topped $5 billion in October, according to data from the Treasury Department and from Census Bureau data analyzed and released by Tariffs Hurt the Heartland, a lobbying coalition of manufacturing, farming and technology groups.

President...