“No, it could be coming from the direction of the Sun,” I said. You have such a narrow mind that you understand it between the Sun and the Earth. You didn't even consider the possibilities of how it could come from which angle to be under the curtain of sunlight. Because you are like a robot.
Objects coming from the direction of the sun are not visible even with a telescope until the last moment.
Here's the problem with your (and I hesitate to even call it this) "theory"
On order for a star to come at us from the direction of the sun, it would need to
1. Approach from directly behind the Sun (the red track on the diagram above)
2. Be nearly in the exact plane of the Earth's orbit. If it was even a couple of degrees above or below, it would be easily detected by any number of ground-based solar observatories - Kodaikanal (India), McMath-Pierce (AZ), Sacramento Peak (NM), Roque de los Muchachos (Spain), Big Bear (CA), or any of three dozen others around the world.
3. Skirt very, very close to the Sun itself, and again if it were just a few degres away, it would be easily detected as per #2 above
4. It would need to have an orbital velocity in the order of relativistic speeds in order to
a. skirt so close to the Sun without its path being deflected by the Sun's massive gravitational attraction, and
b. sneak up on us without being detected earlier in the earth's orbit where we would be able to see where it is coming from.
And all this is not to mention that as this star heads towards us, it would cause MASSIVE perturbations in the orbits of the gas giants and the trans Neptunian objects, which would very easily be detectable not only by Earth based observatories and by any number of current deep space probes.
The only way for an object travelling at any reasonable orbital speed approaching the inner solar system would be one coming on on a path similar to the green one in the diagram above, and we would see that coming for millions of miles.
Now, I am not exactly a whizz when it comes to orbital mechanics, but I don't need to be to see that your idea of something
"coming from the direction of the Sun" defies the laws of physics, and is 100% infeasible... its utter bollocks!