Honestly I am not sure what scientific error you want to point out?
If you need explanation of the verses, then I think that will help to understand what Allah wants us to understand from these verses:
37) And a sign for them is the night. We remove from it [the light of] day, so they are in darkness.
The alternation of the night and day is one of those realities which man does not regard as worthy of much attention only because it is a phenomenon of daily occurrence and experience; whereas if he considers how the day passes and how the night falls, and what is the wisdom in the passing of the day and in the falling of the night, he will himself realize that this is an obvious sign of the existence of an All-Powerful and All-Wise Allah and of His being One and only One. The day cannot pass and the night cannot fall until the sun hides from the earth. The great regularity which is found in the alternation of the day and night was not possible unless the sun and the earth were bound in one and the same relentless system. Then the deep relationship which exists between the alternation of the day and night and the other creations on the earth clearly points to the fact that this system has been established deliberately by a Being with perfect wisdom. The existence on the earth, of the men and animals and vegetation, and even of water and air and different minerals, is in fact, the result of placing the earth at a particular distance from the sun, with the arrangement that the different parts of the earth should go on successively coming before the sun and hiding from it at definite intervals. If the distance of the earth from the sun had been a little longer, or a little shorter, or there had been a perpetual night on one side of it and a perpetual day on the other, or the alternation of the day and night had been much faster or much slower, or sometimes the day had appeared suddenly and sometimes the night without any system, no life could be possible on this planet, and even the form and appearance of the inorganic substances would have been much different from what it is now. If the hearts are not blinded, one can clearly perceive in this system the working of a God, Who willed to bring into being this particular kind of creation on the earth and then established relevance, harmonies and relationships between the earth and the sun precisely in accordance with its needs and requirements. If a person regards the concept of the existence of God and His Unity as far removed from reason, he should think for himself and see how much farther removed should it be from reason to ascribe this wonderful creation to many gods, or to think that all this has happened automatically under some deaf and blind law of nature. When a person who can accept without question these latter unreasonable explanations, only on the basis of conjecture and speculation, says that the existence of a system and wisdom and purpose is not a sufficient proof of the existence of God, it becomes difficult for us to believe whether such a person really feels the need and necessity of a rational proof, sufficient or insufficient in any degree whatever, for accepting any concept of creed in the world.
38) And the sun runs [on course] toward its stopping point. That is the determination of the Exalted in Might, the Knowing"
Better translation could be “ please of rest” instead of “ stopping point.” “Place of rest” may either mean the place where the sun will ultimately come to a halt, or the time when it will come to a halt. The true meaning of this verse can be determined only when man has attained the full and exact knowledge of the realities of the universe. But man’s knowledge is such that it has been changing in every age and what he seems to know today might change tomorrow. The people of the ancient times on the basis of their observations of the sun believed that it was moving round the earth. Then after further research and observation the view became that the sun was stationary and all the planets of the solar system were revolving round it. But this theory also did not last long. The later observations revealed that not only the sun but all the stars are also moving in a particular direction, at speeds of 10 to 100 miles per second. About the sun the modern astronomers hold the view that it is moving at a speed of 20 kilometers (about 12 miles) per second along with its whole family of the planets. As we can see, that knowledge of science is not certain and I don’t want to stretch the interpretation of the verse to fit what science currently believes, rather the focus should be what we can learn from the verse and how we can use it to appreciate the creation of Allah.
39) And the moon - We have determined for it phases, until it returns [appearing] like the old date stalk.
That is, the phases of the moon go on changing throughout the month. It begins as a crescent, then goes on waxing every day till it becomes the full moon on the 14th of the month. Then it starts waning every day till at last it returns to its original shape of the crescent. The same has been happening for millions of years with perfect regularity, and no change has ever occurred in the phases of the moon. That is why one can always calculate and find out exactly in what phase the moon will be on a particular day. If the movement of the moon had not been bound in a system, estimation of its phases would not have been possible.
40) It is not allowable for the sun to reach the moon,
This sentence can have two meanings and both are correct.
(1) The sun does not have the power that it should draw the moon into itself, or enter its orbit and collide with it.
(2) The sun cannot appear in the times which have been appointed for the rising and appearing of the moon. It is not possible that the sun should suddenly appear on the horizon when the moon is shining at night.
nor does the night overtake the day,
Nor does this happen either that the night should approach before the appointed period of the day comes to an end, and should start spreading its darkness suddenly during the time when the day is meant to spread its light.
but each, in an orbit, is swimming.
The word falak in Arabic is used for the orbit of the planets, and it gives a different meaning from the word sama (sky). The sentence, “Each in an orbit is floating (swimming)” points to four realities.
(1) That not only the sun and the moon but all the stars and planets and celestial bodies are moving.
(2) The falak, or orbit, of each one of them is separate.
(3) That the orbits are not moving with the stars in them, but the stars are moving in the orbits.
(4) That the movement of the stars in their orbits is similar to the floating of something in a fluid.
These verses are not intended to describe the realities of astronomy, but are meant to make man understand that if he looks around himself, with open eyes, and uses his common sense, he will find countless and limitless proofs of the existence of God and His Unity, and he will not come across a single proof of atheism and shirk.
The vastness of the solar system in which our earth is included is such that its parent body, the sun, is 300,000 times bigger than the earth, and its farthest planet Neptune is at least 2,793 million miles distant from the sun. However, if Pluto is taken as the farthest planet, it revolves 4,600 million miles away round it. Notwithstanding this vastness, the solar system occupies a very insignificant part of a huge galaxy. The galaxy which includes our solar system has about 3,000 million suns in it, and its nearest sun is so distant from our earth that its light takes about four years to reach us. Then this galaxy also is not the whole universe. According to the investigations made so far, it has been estimated that it is one of about 2,000,000 spiral nebulae, and the nearest nebula is about a million light years away from the earth. As for the farthest celestial bodies which are visible through the modern instruments, their light reaches the earth in about 100 million years. Even now it cannot be claimed that man has seen the whole universe. It is a small part of the Kingdom of Allah which man has yet been able to observe. It cannot be predicted how far and deep man will yet be able to see with greater and more efficient means of observation at his disposal.
All the information that has been gathered so far about the universe proves that this whole world is made up of the same substance of which our tiny earthly world is made, and the same law is working in the universe which is working in the world of our earth; otherwise it was not at all possible, that man should have made observations of the very distant worlds from the earth, measured their distances and estimated their movements.
Is it not a clear proof of the fact that this whole universe is the creation of One God and the Kingdom of One Ruler?
Then from the order and the wisdom and the excellence of workmanship and the deep relationships which are found in the hundreds of thousands of the galaxies and in the millions and billions of the stars and planets revolving in them no sensible person can imagine that all this has come about automatically. Is it possible that there should be no administrator behind this order and system, no sage behind this wisdom, no designer behind this design and work of art, and no planner behind this planning?