D3200 can fully meet your requirements.
I think there are only two things that are good about the D5200. One, it’s convenient to flip the display. Second, the video shooting has 50i specifications. The D3200 does not have the above two points. The two machines are similar in other parameters. But the D5200 is far less cost-effective than the D3200.
Of course, if you are not satisfied with the appearance of the D3200, you have another option, the D5100.