Yes you solder the socket onto the board and then plug your RAM in making sure its the correct way around of course.
Are you good with a soldering iron? Because some times these are difficult to remove without pulling tracks off the board.
Easiest way is to cut all the pins off the existing ic to move the body of the ic out of the way and then desolder the pins from the board.