Complex sentence: Sometime in the late 1930s they came ashore off of South American cargo ships, where they lived in the soil used as ballast on those ships.
Split into simpler sentences: Sometime in the late 1930s they came ashore off South American cargo ships. They were carried in the soil used as ballast on those ships.