The basic attenuation options should provide this though I’ll admit the parameters perhaps aren’t as clear as they could be. If you set your Attenuation Shape to Sphere then you can set Radius and Falloff Distance parameters - Radius isn’t the entire radius of the sound, it’s the point at which the sound starts fading. Your falloff distance is a range not a maximum distance so if you have a radius of 1000 and a falloff distance of 4000 the sound will start fading at 1000 units and you will stop hearing the sound at 5000 units.
You might also want to make use of the Non-Spatialized Radius parameter, which will prevent the sound from being spatialized below a set radius. So if you were to somehow get inside the radius of your sun, the sound would appear to come from all around you instead of the centre of the sphere.