In the realm of the 5 G environment, Radio Access Networks (RANs) are integral components, comprising radio base stations communicating through wireless radio links. However, this communication is susceptible to environmental variations, particularly weather conditions, leading to potential radio link failures that disrupt services. Addressing this, proactive failure prediction and resource allocation adjustments become crucial. Existing approaches neglect the relationship between weather changes and radio communication, lacking a holistic view despite their effectiveness in predicting radio link failures for one day. Therefore, the Dynamic Arithmetic Residual Multiscale attention-based Modulated Convolutional Neural Network (DARMMCNN) is proposed. This innovative model considers radio link data and weather changes as key metrics for predicting link failures. Notably, the proposed approach extends the prediction span to 5 days, surpassing the limitations of existing one-day prediction methods. In this, input data is collected from the Radio Link Failure (RLF) prediction dataset. Then, the distance correlation and noise elimination are used to improve the quality and relevance of the data. Following that, the sooty tern optimization algorithm is used for feature selection, which contributes to link failures. Next, a multiscale residual attention modulated convolutional neural network is applied for RLF prediction, and a dynamic arithmetic optimization algorithm is accomplished to tune the weight parameter of the network. The proposed work obtains 79.03 %, 65.93 %, and 67.51 % of precision, recall, and F1-score, which are better than existing techniques. The analysis shows that the proposed scheme is appropriate for RLF prediction.