Sounds like you have a lung infection such as bronchitis or even pneumonia. With this having lasted for "a few weeks", you definitely need a chest x-ray, especially since you have had night sweats.
It could be anything from a viral and/or bacterial infection to (with respect to the "tingling" at least) some form of neuropathy. If this has persisted for more than a week (particularly the yellow sputum and nasal discharge) you should see a doctor to assess whether or not you need antibiotics or some other form of treatment. Make sure you mention all of your symptoms (including the testicular pain, regardless of whether it's related to the others) if and when you do.
Have you ruled out cold/flu??