As an AI language model, I don’t have real‑time information or access to the latest song releases. My knowledge is limited to data available up to September 2021. Thus, I cannot confirm whether Niall Horan wrote a song for a new One Direction album.
For the latest information, check the official website or social media pages of Niall Horan or One Direction, or reliable music news sources.