Instructions
Load the save game where you want to replace the townies.
Press "F5" and select "Edit Town."
Click any occupied neighbor's home and select "Evict." Anybody who was living in the house returns to the pool of NPCs.
Click on the family that you want to replace the neighbors. Click the now-vacant home to move them into the building.
Repeat the previous steps for all families you wish to replace.