Do a switch and a plug differ from an electrical project point of view?
No. The switch or plug will serve different purposes but the wiring in the receptacle will be the same. Of course, this wiring will differ a little in a variety of circumstances. For example, if you are doing a single pole switch the wiring configuration will look a little different than a 3 way system, etc.