Characterization of projective and injective modules
Solution 1:
For $4 \Rightarrow 1$ assume $P$ satisfies $4$ and let $M \twoheadrightarrow N$ be surjective with a map $P \to N$. The pullback $M \times_N P \to P$ is surjective (you can prove this categorically or from the definition of the object using that $M \twoheadrightarrow N$ is surjective. Alternatively, see An Introduction to Homological Algebra by Rotman, Exercise 5.10 on page 227) so by $4$ it is just a projection to a summand isomorphic to $P$, say $M\times_N P \cong P\oplus Q$. Then the inclusion of that summand, and the other half of the pullback square ($P \to P\oplus Q \cong M \times_N P \to M \to N$) gives that $P \to N$ factors through $M$. Thus $P$ is projective (I assume you're using the definition stating that $P$ is projective if given an epimorphism $ψ:M→N$ and any morphism $f:P→N$, there exists a morphism (not necessarily unique) $g:P→M$ such that $f=ψ\circ g$).
I suspect a dual argument using the pushforward works for $4' \Rightarrow 1'$, but I haven't thought about it.
Edit: Note that $i_P\colon P \to M \times_N P$ splits $\pi_2$, so $\pi_2\circ i_P = \mathrm{id}_P$. Then $f = f\circ\pi_2\circ i_P = \phi\circ\pi_1\circ i_P$ so $f$ factors through $\phi$.