The SOP is the SMD equivalent of the DIP component package.
SOP-4
The SOP-4 is an easy to solder, medium sized, 4-pin SMD package. Commonly used for small solid-state relays (Vishay makes quite a few of them). Related to SOP-4L, which is the same width, but longer.
Photos And 3D Models
A photo of the SOP-4 component package.
A 3D model of the SOP-4 component package. Image from www.digikey.com.
Dimensions And Land Pattern
The dimensions and recommended land pattern for the SOP-4 component package. Image from http://www.everlight.com/datasheets/EL452-G.pdf.
SOP-8
The package dimensions for the SOP-8 component package. Image from https://www.ti.com/lit/ds/symlink/iso1050.pdf.