Can the presence of rheumatoid factor be caused by a past history of syphilis?

Maybe. Chronic syphilis is associated with rheumatoid factor, as any chronic infection can be. However, quickly treated case would not. Remeber, 5% of people have a positive rheumatoid factor and no disease.