Two Raleigh men were arrested in connection with a Thursday afternoon shootout between two cars that ended outside the Cary Police Department.