This item is a relay and socket made by IDEC.

The relay is Model RR2P-U, 2-Pole, 8-Pin Octal, AC24V, 10 Amp, Cube.

The socket is Model SR2P-06, 10Amp, 300Volt, 8-Pin Octal.