What could cause painful, swollen finger joints, with occasional pins and needles?

Many things. Painful and swollen finger joints can be caused by various inflammatory and non inflammatory conditions. Sometimes the cause is unknown. Swelling in the hand and wrist can also result in pins and needles due to increases pressure in the carpal tunnel. See a hand specialist for a complete evaluation.