Can I switch two 12v sources with 5 pin relay?
It will work just as you have it drawn.  But why not just use a SPDT switch to switch between house power and accessory power?  Simpler, cheaper, more reliable, no down side immediately apparent...