Minecraft wiki entry for Legacy_village_mechanics, associated text: Hauling them in from another village
They can be shipped by a boat, a minecart, or led through the night with a trail of fake houses (see videos).
Curing infected zombie villagers
Using cheat commands and/or creative mode spawn eggs