Are you referring to the battle in exodus where Moses stands on the top of the hill and lifts his hand up? In that particular situation it doesn’t say that the sun stopped, it says that Moses kept his hand steady until the sun went went down, as in all day.
I’ve also concluded that if indeed in Joshua it is indicating that the sun stood still, then it would have to be something akin to the miracle of Fatima. Fatima has been described as a locution.
However there are strong reasons to assert that the sun stopping episode in Joshua is being misunderstood. It would conflict with other parts of the bible, such as the part which I believe is in Genesis which explains that day and night shall never cease as a sign of Gods covenant. Also it would conflict with the understanding that no one had ever performed a miracle greater than Moses.
Aside from that the text NEVER gives a reason why the sun stood still. It never gives a reason. All the reasons we assume Joshua would have needed extra sunlight for have no basis in direct biblical reference.
However the notion that it was a quote from a poem is directly supported since the author specifically side tracks to say “Is it now written in the book of Jasher?”, which is a known book of poetry.
Now we might assume that we only want to accept this interpretation simply because a miracle if that magnitude is very hard to believe in our modern time. However even Maimonides a Jewish philosopher/scholar who wrote about this passage way before the scientific revolution, and way before even Copernicus was born, interpreted the reference as being misunderstood.
He insisted that the passage was merely saying that the sun stayed in the sky for the longest possible time period, but it was a single day. He supports this by explaining that the Hebrew word Tamim means perfect, and that the sun did not hurry to go down, as in a perfect day.