In this fragment of Jeremiah 29:11 (plans of shalom and not evil):
מַחְשְׁבֹ֤ות שָׁלֹום֙ וְלֹ֣א לְרָעָ֔ה
I've got Bible Works (v6) parsing לְרָעָ֔ה as an adjective (with leading particle preposition).
On the other hand, it seems to align with TWOT 2191c (listed as parent noun of verb).
What is the part of speech for רָעָ֔ה in Jeremiah 29:11?