433MHz Receiver and LM393 IR Speed Sensor together

I am planing to build a project in which I need to use a 433MHz Receiver and a LM393 IR Speed Sensor together. I have read some tutorials about them. They say I need to use digitalPin 2 for reading transmitter code with 433 MHz Receiver and also I need to use digitalPin2 for my Speed sensor. Is there a way to come up with this situation?

Thank You.

Hello Again.
Ok, That is how I come up with that problem.
I didn't mention but I need to use RF Receiver not frequently and when I use RF Receiver no need to use Speed Sensor though. So, I put a toggle switch to switch between Receiver and Speed Sensor.