I am taking the position that perhaps the Torah does contain narratives that are not scientifically correct, such as the creation and early human history narratives found in the first 11 chapters of Bereshit. Something to have in mind before you give your answer is that Rambam’s 13 principles seem to say that we should believe that God gave everything in the Torah to Moses (I suppose that would even include some of the narratives that are not scientifically factual), and that nothing in the Torah changed or will ever change. So now with that in mind: Would believing that some of the narratives in the Torah are not scientifically factual no longer make me Orthodox and brand me as a heretic, or would I still remain Orthodox?
The Rambam believed that the Torah is not intended to be history or science, but ethical teachings:
Those passages in the Bible, which, in their literal sense, contain statements that can be refuted by proof, can and must be interpreted otherwise. [Rambam, Guide to the Perplexed, 2:25]
The Torah, the Talmud and Chazal do not use the artificial label "Orthodox" or recognize subcategories of Judaism, it is just one religion. And you remain as Jewish as the rest of us even if you question and doubt. Yes, events described in the Torah are ofttimes inconsistent with laws of nature as we know it, or current scientific knowledge, and could only have occurred miraculously. We believe in miracles, and that things happen beyond the rules of nature, Shelo B'derech Hateva. Don't label or brand yourself if you do not yet see the miracles in every day life.
אם אין יראה, אין חכמה
If there is no fear, there is no wisdom.
(משנה אבות ג יז)
וְעַתָּה֙ יִשְׂרָאֵ֔ל מָ֚ה יְהֹוָ֣ה אֱלֹהֶ֔יךָ שֹׁאֵ֖ל מֵעִמָּ֑ךְ כִּ֣י אִם־לְ֠יִרְאָ֠ה אֶת־יְהֹוָ֨ה אֱלֹהֶ֜יךָ לָלֶ֤כֶת בְּכׇל־דְּרָכָיו֙ וּלְאַהֲבָ֣ה אֹת֔וֹ וְלַֽעֲבֹד֙ אֶת־יְהֹוָ֣ה אֱלֹהֶ֔יךָ בְּכׇל־לְבָבְךָ֖ וּבְכׇל־נַפְשֶֽׁךָ׃
All that is demanded of a Jew is that they fear the ultimate consequences of their actions and beliefs. In regards to this example: They must fear the possibility that when they will face the ultimate judgement in front of their Creator, He will reveal to them exactly how all the stories in the Torah were literally and scientifically true and they will immediately feel drenched in shame for having lived a live that dismissed that possibility. Simultaneously, they must fear the possibility that on judgement day, their Creator will reveal that the stories in the Torah were not intended to be taken literally and they will feel ashamed for not having given that possibility proper consideration.
To answer your question: If you are dismissing entirely the possibility that the stories in the Torah are scientifically accurate then you have strayed from the path of what is fundamentally required of a Jew.
However, if you just mean to say that given the context, arguments, and possibilities you have been presented so far, you lean towards the understanding that the stories in the Torah are not meant to be taken literally, yet remain open to the other possibility, and fearful that, indeed, the reverse may be true then you are well within the confines of Orthodox Judaism.
Although as others have pointed out, there exist people who consider themselves Orthodox Jews yet do not demonstrate Yirei Shamayim, and others who do, yet do not identify as Orthodox.
Many are the essays and books which have been written on the discrepancies between the scientific account of the mode in which our globe came into being, and the account given in this first chapter of the Bible. (John Dummelow's Commentary on the Bible)
The Torah is not a textbook of science. It is a textbook of religion, of the Jewish religion. It has been recognized since the nineteenth century, since the time of Charles Darwin, that the Torah does not agree with the findings of biology (the age of man), geology (the age of the earth), and astronomy (the age of the universe). The Torah does indeed contain narraatives which are not scientifically correct, in particular, the Pentateuchal cosmogony (Beréshit 1:1-2:3). In spite of this, the Torah recounts that God Himself came down on Mount Sinai and gave the Decalogue to the children of Israel. This is an irrefutable fact. The deliverance of Israel from slavery in Egypt and its continued existence until this very day are also irrefutable facts. To so believe does not make you a heretic.
Based on the unanimously accepted Rambam's 13 principles, as long as a person truly believes that the Torah we possess is exactly what was given at Sinai by G-d, he's considered pious and not asked on the details.
A person is not asked/tested whether Avraham was a real man, if Exodus was real or if the facts of the Torah match our empirical reality.