Enables the directed movement of a toxin into, out of or within a cell, or between cells. A toxin is a poisonous compound (typically a protein) that is produced by cells or organisms and that can cause disease when introduced into the body or tissues of an organism.