Need G2R-1-S (S) part identification help

I need to replace a part and need help identifying it. On the top it says Omron 6V DC
Below is the picture (the white stuff is the sticky material that was used to attach it.

![image000002 (1)|285x500](upload://fhZr5eyi9SlqgK7DQzbKmRHSb6u.jpeg)

I found https://www.digikey.com/en/products/detail/omron-electronics-inc-emc-div/G2R-1-DC6/368673 But not sure if this is the correct part. Any help is greatly appreciated. Trying to replace a part that is over 15 yrs old.

Thank you in advance

Take a look at the following G2R-1-S DC6(S) By Omron Automation and Safety

The S suffix in the part number means socketable.

1 Like

Thank you!!!