suburban 5238a----better known as a SW6D Model (6 gal direct spark)
On the Water Heater
RED is 12VDC POS from On/Off Switch Set of t-stat then circuit board
Blue is 12VDC POS from Circuit Board TO FAULT Light terminals on the On/Off Switch
Green is DC Ground/Negative
From your OLD wiring, you will need to test which one of those wires is the 12VDC POS from your DC Dist Panel (FUSE)and which is DC Ground/NEG
POS to RED and GRD/NEG to GREEN
*the other wire would go to the Blue wire
What was the Old WH Model?