In cryptography, the security of a cipher is highly depends on the length of encryption-decryption key you are using.Encrypting 16 bit data with AES-256 (256 bit key) is much more secure than Encrypting 16 bit data with AES-128 (128 bit key).
First of all, note that AES and RC4 are two different ciphers. AES is a block cipher while RC4 is a stream cipher. You can use the block ciphers for creating a stream cipher. both two ciphers are two different things with different usage. You must compare them separately and decide which one is better for you.
The popularity of RC4 is related to it's simplicity and its speed. AES in not as fast as RC4 at all, but hardware implementation of AES along side AES_NI, new instruction for performing one round of AES, makes it very fast!!
AES security is clear for everybody but RC4 has some weaknesses. In 2005, Andreas Klein presented an analysis of the RC4. Erik Tews, [Ralf-Philipp Weinmann][2], and Andrei Pychkine create a tool that cracks 104-bit RC4 under a minute.
I recommend you to use AES encryption if:
you Need strong security!!!
your Processor has AES_NI instruction.
[2]: Erik Tews, Ralf-Philipp Weinmann, Andrei Pyshkin. Breaking 104-bit WEP in under a minute.