According to the UL white book

Receptacles are listed to use stranded wire as long as it is terminated by one of the following: wire-binding screw, setscrew,or screw actuated back wired clamp type terminal

Switches are not listed to use stranded wire.

Spade lug or fork crimp terminals on the stranded wire is not a listed method for terminating the conductor to the device.