Persona 3's story is amazing, but I wouldn't consider Persona 4 to be well written. P4 is mainly engaging characters and a handful of great moments writing-wise.
3's main narrative is better. 4's cast and overall writing because of them kicks the shit out of 3. 3's cast is good, but pretty trope-y compared to 4.