A triac is a bidirectional electronic switch which can be controlled by the digital circuits as it can be triggered by either positive or negative voltage so you can conduct in both the directions. The maximum terminal current is 4A so if you are looking for a device which you will use to control sw..