RAT is nothing but a windmilling turbine.As long as one can supply it with sufficient air it will run.once gear down the air flow is disturbed and hence stalls at140 (old RAT) 125 (newRAT).
So to answer your question it can run forever.
bear in mind you would run out of other things like battery, fuel etc..