Proper name for "a switch-over time-delay relay"
You can not get what you want in a single relay. You will need two on-delay relays. It should be easy to find appropriate relays and design a relay circuit that will function in the way you have described.