Will the Sun ever stop shining?

Yes, but not for a very, very long time. Stars shine because a huge amount of energy is created in their cores by a process called nuclear fusion. Nuclear fusion happens when lighter elements, like hydrogen, are combined into heavier elements, like helium. In about 5 billion years, the hydrogen in the Sun's core will run out and the sun will not have enough fuel for nuclear fusion. So, in about 5 billion years, the Sun will stop shining.