Sure, you could do that............
But why not put it back the way Yanmar intended it? I don't think there's much difference in price to have an actual Yanmar switch with the thermostart built in...............and they're easy to come by, just contact Hoye or any of the dealers who post here, I'll bet any of them can supply you with the right switch, and quickly.