So am i right to say that when i push the switch to 5v it will charge the transistor and u can change to voltage through the potentiometer for volume control and mute?
First thing to check is whether you really have a controllable volume at all. There are three type of TDA7052, the original with no letter at the end does not have electronic volume control at all. SOME of the ones marked 'A' at the end have it, some do not. ALL the ones with a 'B' at the end do have volume control.
So am i right to say that when i push the switch to 5v it will charge the transistor and u can change to voltage through the potentiometer for volume control and mute?
If you are saying does biasing a transistor into conduction and wiring it in series with the volume control make that control work? The answer is yes but bear in mind that IC gives more volume when the voltage on pin 4 is higher. If you disconnect the bottom of the control it will go to maximum gain. If you intend to use the transistor to mute the audio, it should be wired across the volume control so it 'shorts it out' when the transistor conducts.
So am i right to say that when i push the switch to 5v it will charge the transistor and u can change to voltage through the potentiometer for volume control and mute?