Want to convert 4-pin base recessed lighting to LED (gx24)
By 4 pin base, I'm assuming your cans take some sort of fluorescent twin tube type lamp. If I'm correct, you will not be able to convert these cans to those LED trims. You will need to change out the can in order to use them.
Answers based on the National Electric Code. Always check local amendments.