How to get the Arduino to close a circuit

if there is electricity in the circuit then voltages and amperage are flowing, your selection of device depends on what that is

if your just trying to hack a keyboard, use a transistor