You need a modulator. As the PI has a baseband composite video (CVBS) output, to generate an analog TV RF signal, all you need to do is to hook that up to a modulator that accepts CVBS video in. N.B. the resolution sucks when using the Pi's CVBS TV output!