Part identification: 4 pins, 2 marked with squiggles, one each marked with + and -
As in the comment the part is likely a full wave rectifier.  The markings also show that the part is UL recognized, so it might be used to connect to an AC mains line. If you are replacing the part you should find a similar part that is also UL recognized.  The voltage rating is likely 2 or more times the input voltage.

The part could even be used to allow the option of connecting either an AC or DC input.  The full wave rectifier would insure that either type is routed correctly into your system.  

The exact part and data sheet is available here:
https://micindia.com/productSearch.jsp?index=5&amp;prodCat=&amp;prodSubCat1=&amp;prodSubCat2=&amp;partNo=W10G