yes will work, however I would solder wires to spade connectors. Being on boat is harsh environment for electronics corrosion is guaranteed at weakest point which is connections.
i agree with soldering the spade connections, a little corrosion down the road will make you want to beat your head against the wall trying to trace the problem.