RNA and protein are potential molecules that can be used to construct functional nanobiomaterials. Recent findings on riboswitches emphasize on the dominative function of RNAs in regulating protein functions through allosteric interactions between RNA and protein. In this study, we demonstrate a simple strategy to obtain RNAs that have a switching ability with respect to protein function in response to specific target molecules. RNA aptamers specific for small ligands and a trans-activation-responsive (TAR)-RNA were connected by random RNA sequences. RNAs that were allosterically bound to a trans-activator of transcription (Tat)-peptide in response to ligands were selected by repeated negative and positive selection in the absence and presence of the ligands, respectively. The selected RNAs interacted with artificially engineered Renilla Luciferase, in which the Tat-peptide was inserted within the Luciferase, in the presence of the specific ligand and triggered the “Lighting-UP” switch of the engineered Luciferase.