Using Arduino to read RC receiver to control2PCS 4 Channel 5V Relay Module with Optocoupler control

Find separate sketches, one that reads the I BUS and one that controls a four-channel relay. Now merge them. There is even a merge tutorial here for those who need help