4. Если бы она пришла, я бы поговорил с ней.

Your translation is correct, but you must be aware that the Russian sentence can also express a hypothetical condition: "If she came, I would talk to...