cord switch

noun

Definition of cord switch

: a snap switch mounted at the end of a cord suspended from a ceiling fixture

called also pendant switch