Proper planning for electric vehicle (EV) charging stations, as well as the necessary network development, is critical for the continued growth of EVs and conventional loads. This article proposes a hybrid method for the allocation of fast‐charging stations (FCSs) and photovoltaic (PV) with battery energy storage (BES) and scheduling. The proposed hybrid technique is the wrapper of golden jackal optimization (GJO) and random forest algorithms (RFA), commonly named the GJO–RFA technique. Using the GJO approach, the allocation and EV assignment problems are resolved. RFA is used to address EV, traffic flow, and PV‐related uncertainties. The objective of the proposed approach is to minimize the loss of energy, investments, index of voltage deviation, and operation and maintenance costs of FCS, PV, and BES. The associated important factors are also assessed, including the number of charging ports, FCS capacity, and EV flow caught using a FCS. As a test example, a 33‐node radial distribution network with the appropriate traffic network is used. For the final problem, the proposed approach to minimal energy loss is 2622.7270 kWh. By then, the performance of the proposed approach is executed in MATLAB, and it is contrasted with other existing techniques. The result shows that the proposed method‐related energy loss is less than existing approaches.