To fly as First Officer, you need a CPL. Minimum age for a CPL is 18.
To fly as Captain, you need an ATPL. Minimum age for ATPL is 21.
Makes no difference what's in the back - people or cargo. That's assuming you can find someone to give you a job, of course!
FFF
-----------