Open the weapons inventory and have your primary weapon equipped. While your inventory is open, scroll to your RPG/AT-4. When this is highlighted, press X then Square almost at the same time. If done correctly, you should be able to run and shoot rockets out of your primary weapon (for example, assault rifle, sniper rifle, or machine gun).