If it can be adapted to your situation (and it seems to me it can), this:
http://forum.mikrotik.com/t/simpler-failover-for-two-gateways-i-found-working/169108/1
further simplified:
http://forum.mikrotik.com/t/simpler-failover-for-two-gateways-i-found-working/169108/1
is IMHO the simplest method (using a simple Netwatch script that just enables and disables a route).
I have read here and there that a Starlink connection can be problematic because it can disconnect temporarily for a few seconds several times a day to soon resume by itself, so I believe the timing of the failover method is important and a netwatch script (more complex than the one in the given example) or a “fine tuning” of the ICMP probe settings might be more suitable than the check gateway or recursive.