NOTE: There should be a hot/black wire going from source wire to the lower connector on the switch.
The 3 outlets are going into a 3 gang box. The 3rd outlet (the one on the far right) will be controlled via the switch to the right (the switch is located on the same wall a few feet away).
I understand different areas have different code, but in general, will this work?