Request: 5A DC-DC Solid State Relay

This part should do what you want.

kf0604D.fzpz (3.8 KB)

It is already optically isolated internally so it is hard to see why you would need additional optocoupling.

Peter