Answer by
Brandon55 (1719)
Purchase a switch/outlet combination. Wire the switch to function like a switch and wire the other end to function like an outlet. A switch is an interrupt of a circuit, so don't short the hot and ground wires by attaching them both to the switch. The outlet will be wired like that though.