Need help to use Lzw31-sn to replace single pole outlet switch

I can’t add pictures at the moment, however, I can say that the box only has 1x white wire, 1x black wire, and 1x copper ground wire. There are no additional wires in the box. This is a single gang box with no additional switches.