In 5G heterogeneous evolution, the unlicensed band has captured much attention. Specified by 3GPP Release 13, LTE WLAN aggregation (LWA) is deemed as an effective approach for spectrum integration of 5G heterogeneous networks (HetNet). However, most of previous works about LWA lie in the architecture design, and rarely investigate LWA algorithm analytically. In this paper, we formulate the network access and aggregation problem for delay-tolerant application in multiple slots, and further develop a delay-aware LTE WLAN aggregation algorithm (DLWA) based on dynamic programming, which is aimed to minimize the user payment with QoS requirement. To reduce the complexity, we prove optimal decision policy and simplify the searching space of scheme sets. Simulation results show that, comparing with the current WLAN interworking solutions, the algorithm could lower the payment and achieve high completion probability under specified transmission deadline. The framework presented can support WLAN offloading scheme as well, which enables the best use of unlicensed resource.