Changing the size to within the radius of an orbit wouldn't affect the orbiting body.
It goes the other way around too: compressing the Sun into a black hole wouldn't affect the orbits of any of the planets.
Look up Shell Theorem for geometrical explanation of why it is so.
If the Sun were blown up to anything higher than ~200 times its current radius, its outer parts would pass the Earth, no longer affecting it gravitationally(again, shell theorem explains this effect), and the force of gravity towards the centre of the orbit would no longer remain the same, causing the Earth to spiral outwards.
Distibuting the Sun's mass over an infinite volume(i.e., "gazillion times" larger) would be equivalent to nullifying any gravitational influence it may have had on Earth, as the mass remaining within the Earth's orbital radius would be negligible, and Earth would just float away rectilinearly at its current orbital speed.