Need some help identifying this component
From the designator (X1) that would be a crystal or oscillator of some kind.  

From the shape and given that it has three pins, I'd say it is a ceramic resonator being used in an oscillator.

From the marking, most likely 4MHz.