Humans become infested when they eat raw or undercooked fish, probably small fish eaten whole, which have the infective larvae in their intestinal tract.
Depending on lung infection, or sanitary conditions, plague can be spread in the air, by direct contact, or by contaminated undercooked food or materials.