The 5spd swap is pretty easy to do. If you were to keep the ka and swap in the 5spd it will cost about $500 for all the parts.

http://www.ka24development.com/transmission_swap.html

This site has a list of all that you need to do the swap. There is also a link on that page for the wiring.

http://www.240sx.org/links/installs/s14_5speed_swap.htm

Here is a link that goes through step by step on how to do it.