A relay is the simplest! But which one? What are you switching on and off...lights?...motors?....??? How much current in switched in the 220VAC circuit? How current much can the 5VDC circuit supply?
Details...details...details! They may point to other methods of switching.