The S5G is a Rectifier Diode in an SMB (DO-214AA) package, rated for 400V and 5A. It is commonly used for rectification in power supplies and other electronic circuits.
Data sheet