The transmission of cysticercosis primarily occurs through the fecal-oral route. Individuals may ingest Taenia solium eggs present in contaminated food or water, or through poor hygiene practices. These eggs develop into larvae (cysticerci) within the human body. Pigs are often intermediate hosts, acquiring the eggs from human feces and subsequently developing cysticerci in their tissues, which can then be transmitted back to humans through the consumption of undercooked pork.