All you need is a nut driver. The end cap is attached to the side of the refrigerator cabinet with two long screws. Once you remove them, you should slide the end cap towards you. It will release the internal clip that holds the front of the end cap. You should then unscrew the metal slider from the end cap.
Assembly of the new end cap is the reverse. You should first attach the metal slider to the new end cap. Attaching the new end cap to side of the refrigerator cabinet is a little tricky. You should first align the bottom of the new end cap with the bottom of the refrigerator's cabinet, make the end cap flush with the side of the cabinet, and then slide it towards the back of the refrigerator. The internal clip on the front of the end cap should match the corresponding piece on the side of the refrigerator. Pushing it back will lock the end cap in place. You should ensure that the two tabs at the back of the end piece should be fully inserted into the holes in the back of the refrigerator.
The end cap should be flush with the side of the refrigerator and stay in place without any screws.There should be no gap between the end cap and the side of the cabinet. You should compare it to the end piece in the opposite side to make sure. You should then screw the two long screws and you are done.
Total time including removal of the vegetable drawers and the glass shelf, removing the pantry drawer, removing the end cap, installing the new end cap, installing the pantry drawer, glass shelf, and vegetable drawers is about 10 minutes.
Note that you probably do not need new screws. However, if your refrigerator is older than a few years, the screws may become a little rusted, and you should replace them. My experience is that 10 years old screws become rusted, but 5 years old screws are still good. You can find the part numbers for the screw in the corresponding parts diagram. The end cap is held by two long screws, and the pantry drawer slider is held by two short screws.