Could you provide about where you encountered or downloaded this file?
A highly recommended, free, and open-source file archiver.
Simply having a .rar file sitting on your hard drive cannot harm your device. The risk triggers only when you extract the files or run executables packed inside.