Best is to buy a ready-made random turn-on SSR, but they are expensive compared to making your own. If you use a mechanical relay, you should connect a snubber network across the contacts to control arcing. You may need to use a snubber network with the home-made SSR too.