By Default, a static route will always be used instead of a routing protocol, By adding an AD (Administrative Distance) number to your ip route statement.
if your network is using EIGRP, and you need a backup route, add a static route with an AD greater than 90.
EIGRP will be used because its AD is better (lower) than the static route.
But if EIGRP goes down, the static route will be used in its place. This is known as a floating static route.