Yes it should work fine as long as you don't have the power on for both devices at the same time - otherwise if your video input is set on "Auto" it will choose the best one and pick the DVI signal over the component one.

You can also go into the input configuration screen and choose the input type manually as Component, but that will require you to switch back and forth - the power switch thing is the best option.