2n3904 vs. Pn2222A for FM Radio Transmitters
This can't be answered because you haven't provided a schematic and said what function exactly the transistor in question is supposed to perform.  Either of those transistors could be appropriate for some functions in a FM transmitter.