Could doing pull-ups cause another shoulder dislocation?

Shoulder dislocation. Yes pullups put stress on the shoulder joint and you could get another dislocation.
Yes. After a shoulder dislocation many activities can lead to another shoulder dislocation especially with arms overhead while supporting weight. It is best to ease into theses activities and adjust weights based on how the shoulder feels.