By train to Hamburg, then by steamship to Boston. Probably.
There are lots of genealogy resources to check passenger lists if you have the names.