I assume that you have already tested the Ethernet cables and the Ethernet switch to make sure that they have been installed correctly.
Temporarily, disconnect the Ethernet cable from the Time Capsule
With the Time Capsule powered on, hold in the reset button on the back of the Time Capsule for 7-8 seconds and then release the button
Allow a full minute for the Time Capsule to restart to a slow, blinking amber light status
(This reset will not affect any of the data that might already be stored on the Time Capsule disk)
Connect the Ethernet cable to the WAN "O" port on the Time Capsule
On your Mac.....click on the WiFi menu at the top of the Mac's screen
Look for a listing of New AirPort Base Station
Click directly on AirPort Time Capsule

When you click on Time Capsule, that will start up the AirPort Utility setup "wizard". It will take a few seconds to analyze the network and then display a screen that will look like the example below, except that you will see your devices pictured

Type in a device name that you want to call the Time Capsule. You can use the same name that you used before if you wish.
Click Next
Watch the next screen very carefully to confirm that the Time Capsule will be set up to extend using Ethernet. This will confirm that the setup 'wizard" has detected the Ethernet cable connection to the Time Capsule and that the correct settings will be applied to the Time Capsule to extend the network using an Ethernet connection.

When you see the message of Setup Complete, click Done.
Now the Time Capsule is configured correctly to extend the network.