Seackawhooth13
The total amount of regular full fare train tickets (within Switzerland on day 5) for the exact itinerary you provided above would cost you around 225.- (assuming 1x Luzern-Interlaken via Brünig/Panoramic Express and 1x via Bern). The most expensive single journey is Luzern - Chiasso on day 5 for 68.-
A 4 day Swiss Travel Pass costs 295.-, a 5 day version does not exist.
Better answers than this one are not possible based on the rather poor level of details you provided. Additional (expensive!) local excursions may change things completely.