distributor solenoid purpose?

don't mind my stupid question but what purpose does the wire to the vacuum advance serve? I'm new to bigblocks and don't know. will a normal small block distributor fit?

its a 400 B engine being removed from a '77 tradesman 300 to go in a '77 adventurer long wheel base stepside