Relay Switching - Turn on A then after time turn on B

Trying to make a rule to turn on a relay and then turn off that relay and turn on another one after a period in time, any suggestions ?

If you don’t want to code anything, you can try it with the metadata expiration timer and a rule.

Switch ON item A with eg expiration timer set 5min and send command OFF.
Create a rule like: when item A changed from ON to OFF send command ON to item B.