Properties usually sell based on the market value which means similar sold properties in past 6 months. The 3 bedrm townhomes in North Edison sells any where from $300k upto $450k.
Also, the ranches are comparatively older than the townhomes but due to the fact that they are single family, they are priced close to townhomes. It also depends on factors such as upgrades, location,size of lot for a ranch to be priced higher than a townhome. As a matter of fact, you will find several ranches in South Edison much lower than $360k.
In short, it is difficult to compare the two and is dependent on several factors.
Should you have any questions, Please feel free to ask.