Pain and swelling in my right index finger. Will it persist if I give up my typing job?

It might! It depends on the cause. Radiographs are in order, as is a visit to your doc to find out if inflammtion, or simple degeneration, is the cause.