What kind of component is that?
It is a 4.0 MHz ceramic resonator with built-in load capacitors. You can use it in place of a crystal + load capacitors in most MCU (Pierce type) oscillator circuits.
The center pin goes to ground and the other two go to input and output of the on-chip oscillator (doesn't matter which goes to input and which to output). Similar to a Murata part CSTLS4M00G56Z.