Trying to swap 1 outlet with a switch that doesn’t control outlets
Change the bottom one.   Black to a switch screw, the hot on the lamp's cable goes to the other switch screw.  The white does not go to the switch but goes to the lamp cable's  white wire.